Fixing netlify

This commit is contained in:
Zef Hemel
2024-01-20 22:53:51 +01:00
parent 9734c0f14c
commit 4133cabd52
11 changed files with 60 additions and 17 deletions
+5
View File
@@ -57,6 +57,11 @@ export class HttpSpacePrimitives implements SpacePrimitives {
if (
errorMessage.includes("fetch") || errorMessage.includes("load failed")
) {
console.error(
"Got error fetching, throwing offline",
url,
e.errorMessage,
);
throw new Error("Offline");
}
throw e;