Skip to content

Commit 2cb98af

Browse files
committed
Merge branch 'main' into feat/aws-code-commit
2 parents 41a03fb + 228a38e commit 2cb98af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Common/Api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,4 +247,4 @@ export const abortPreviousRequests = <T>(
247247
*/
248248
export const getIsRequestAborted = (error) =>
249249
// The 0 code is common for aborted and blocked requests
250-
error && error.code === 0 && error.message === 'The user aborted a request.'
250+
error && error.code === 0 && error.message.search('abort\|aborted')

0 commit comments

Comments
 (0)