Skip to content

Commit

Permalink
Merge pull request #874 from gemini-testing/HERMIONE-1418.target_clos…
Browse files Browse the repository at this point in the history
…e_error

fix: ignore TargetCloseError
  • Loading branch information
KuznetsovRoman authored Mar 14, 2024
2 parents 8185e7b + 305c6c1 commit 67fd345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export const shouldIgnoreUnhandledRejection = (err: Error | undefined): boolean
return false;
}

if (err.name === "ProtocolError") {
if (err.name === "ProtocolError" || err.name === "TargetCloseError") {
return true;
}

Expand Down

0 comments on commit 67fd345

Please sign in to comment.