Skip to content

Commit

Permalink
fixup! fix: react-native runtime incompatibilities
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-karlsson committed Oct 3, 2024
1 parent 352f605 commit 4e2ac9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sdk/src/fetch-util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ export class FetchBuilder {
let retryCount = 0;

const doRetry = async (e: unknown): Promise<Response> => {
if (request.signal?.aborted ?? false) throw new Error('Request aborted');
if (request.signal?.aborted ?? false) throw new Error('This operation was aborted');
// if there are no more attempts we throw the last error
if (retryCount >= maxRetries) throw e;

Expand Down

0 comments on commit 4e2ac9f

Please sign in to comment.