mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-29 00:20:04 +01:00
web: ignore Could not connect to the Sync server error
This commit is contained in:
@@ -317,7 +317,11 @@ class AppStore extends BaseStore {
|
||||
this.updateSyncStatus("failed");
|
||||
}
|
||||
|
||||
if (err?.message?.indexOf("Failed to fetch") > -1) return;
|
||||
if (
|
||||
err?.message?.indexOf("Failed to fetch") > -1 ||
|
||||
err?.message?.indexOf("Could not connect to the Sync server.") > -1
|
||||
)
|
||||
return;
|
||||
|
||||
showToast("error", err.message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user