Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: handle `NetworkError when attempting to fetch resource.`

Abdullah Atta805e60a808bb
diff --git a/apps/web/src/components/error-boundary/index.tsx b/apps/web/src/components/error-boundary/index.tsx
index 4afbbf416..d482938a7 100644
--- a/apps/web/src/components/error-boundary/index.tsx
+++ b/apps/web/src/components/error-boundary/index.tsx
@@ -33,7 +33,11 @@ import { db } from "../../common/db";
import { createDialect } from "../../common/sqlite";
import { getDeviceInfo } from "../../utils/platform";
-const IGNORED_ERRORS = ["Error in input stream", "network error"];
+const IGNORED_ERRORS = [
+ "Error in input stream",
+ "network error",
+ "NetworkError when attempting to fetch resource."
+];
export function GlobalErrorHandler(props: PropsWithChildren) {
const { showBoundary } = useErrorBoundary();