Skip to content

Commit

Permalink
Update packages/server/lib/browsers/webkit.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
flotwig committed Oct 12, 2022
1 parent d88d246 commit 762ad16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/lib/browsers/webkit.ts
Expand Up @@ -121,7 +121,7 @@ export async function open (browser: Browser, url: string, options: BrowserLaunc
*/
private suppressUnhandledEconnreset () {
unhandledExceptions.handle((err: NodeJS.ErrnoException) => {
return err.code !== 'ECONNRESET'
return err.code === 'ECONNRESET'
})

// restore normal exception handling behavior
Expand Down

0 comments on commit 762ad16

Please sign in to comment.