Skip to content

Commit 18e90f2

Browse files
krausestWebReflection
authored andcommitted
improve error handling
1 parent 5e96ca4 commit 18e90f2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

webdriver-ts/src/isKeyed.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,11 @@ async function runBench(frameworkNames: string[]) {
278278
console.log("ERROR running "+runFrameworks[i].fullNameWithKeyedAndVersion, e);
279279
allCorrect = false;
280280
} finally {
281-
await driver.quit();
281+
try {
282+
await driver.quit();
283+
} catch (e) {
284+
console.log("error calling driver.quit - ignoring this excpetion");
285+
}
282286
}
283287
}
284288
if (!allCorrect) process.exit(1)

0 commit comments

Comments
 (0)