gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] 02/02: web-utils: create error details with correct


From: gnunet
Subject: [taler-wallet-core] 02/02: web-utils: create error details with correct code
Date: Fri, 30 Jun 2023 13:55:42 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-core.

commit 7523ffa9105f71a6a4c201d3ee46dbfccc929cea
Author: Florian Dold <florian@dold.me>
AuthorDate: Fri Jun 30 13:55:35 2023 +0200

    web-utils: create error details with correct code
---
 packages/web-util/src/utils/http-impl.sw.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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`,
         );

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]