Fix a case where the 'aborted' error message was getting through
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
export function isNetworkError(e: unknown) {
|
||||
const str = String(e)
|
||||
return str.includes('Aborted') || str.includes('Network request failed')
|
||||
return str.includes('Abort') || str.includes('Network request failed')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user