1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Handle failure to build webDriver instance (#9052)

This commit is contained in:
Whymarrh Whitby 2020-07-22 15:55:04 -02:30 committed by GitHub
parent 17e9d85401
commit 231867df39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,9 @@ async function withFixtures (options, callback) {
}
}
} catch (error) {
await webDriver.verboseReportOnFailure(title)
if (webDriver) {
await webDriver.verboseReportOnFailure(title)
}
throw error
} finally {
await fixtureServer.stop()