diff --git a/src/utils/errors.ts b/src/utils/errors.ts index 03120e0e4..ebd55bdea 100644 --- a/src/utils/errors.ts +++ b/src/utils/errors.ts @@ -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; }