Do not show ErrorDialog on network errors
This commit is contained in:
@@ -11,7 +11,7 @@ const stackTrace = ref('');
|
||||
|
||||
async function onError(error) {
|
||||
// this is handled by the fetcher global error hook
|
||||
if (error.status === 401 || error.status >= 502) return;
|
||||
if (error.status === 401 || error.status >= 502 || error instanceof TypeError) return;
|
||||
|
||||
console.error(error);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user