diff --git a/packages/web-util/src/utils/http-impl.sw.ts b/packages/web-util/src/utils/http-impl.sw.ts index dbb1f7834..5c15475ce 100644 --- a/packages/web-util/src/utils/http-impl.sw.ts +++ b/packages/web-util/src/utils/http-impl.sw.ts @@ -109,7 +109,7 @@ export class ServiceWorkerHttpLib implements HttpRequestLibrary { } catch (e) { if (controller.signal) { throw TalerError.fromDetail( - controller.signal.reason, + TalerErrorCode.WALLET_HTTP_REQUEST_GENERIC_TIMEOUT, {}, `request to ${requestUrl} timed out`, );