diff --git a/packages/dapp-toolkit/src/modules/gateway/gateway.module.ts b/packages/dapp-toolkit/src/modules/gateway/gateway.module.ts index 33e45664..75f6de9e 100644 --- a/packages/dapp-toolkit/src/modules/gateway/gateway.module.ts +++ b/packages/dapp-toolkit/src/modules/gateway/gateway.module.ts @@ -64,6 +64,15 @@ export const GatewayModule = (input: { return }) .mapErr((response) => { + if (response.reason === 'FailedToFetch') { + logger?.debug({ + error: response, + context: 'unexpected error, retrying', + }) + retry.trigger.next() + return + } + logger?.debug(response) return SdkError( 'failedToPollSubmittedTransaction',