We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f3ab82 commit 229da8dCopy full SHA for 229da8d
src/core/http.ts
@@ -234,9 +234,12 @@ export function isBrowserPreviewable(file: string) {
234
235
export function maybeDisplaySocketError(e: unknown) {
236
if (
237
+ !(e instanceof Deno.errors.NotFound) &&
238
!(e instanceof Deno.errors.BrokenPipe) &&
239
+ !(e instanceof Deno.errors.NotConnected) &&
240
!(e instanceof Deno.errors.ConnectionAborted) &&
241
!(e instanceof Deno.errors.ConnectionReset) &&
242
+ !(e instanceof Deno.errors.ConnectionRefused) &&
243
!(e instanceof DOMException)
244
) {
245
logError(e as Error);
0 commit comments