Skip to content

Commit b0dabf6

Browse files
authored
Merge branch 'main' into feat/deployment-window-gc
2 parents 398677d + 228a38e commit b0dabf6

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)