gnunet-svn
[Top][All Lists]
Advanced

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

[taler-wallet-core] branch master updated (424e39edd -> 7523ffa91)


From: gnunet
Subject: [taler-wallet-core] branch master updated (424e39edd -> 7523ffa91)
Date: Fri, 30 Jun 2023 13:55:40 +0200

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

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

    from 424e39edd -oops, obvious missing return
     new b2fd948a5 -logging
     new 7523ffa91 web-utils: create error details with correct code

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 packages/taler-wallet-core/src/operations/pay-peer-push-debit.ts | 2 +-
 packages/web-util/src/utils/http-impl.sw.ts                      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages/taler-wallet-core/src/operations/pay-peer-push-debit.ts 
b/packages/taler-wallet-core/src/operations/pay-peer-push-debit.ts
index 424715efa..9ae94fff8 100644
--- a/packages/taler-wallet-core/src/operations/pay-peer-push-debit.ts
+++ b/packages/taler-wallet-core/src/operations/pay-peer-push-debit.ts
@@ -481,7 +481,7 @@ async function processPeerPushDebitReady(
         codecForExchangePurseStatus(),
       );
       const mergeTimestamp = purseStatus.merge_timestamp;
-      logger.info(`got purse status ${purseStatus}`);
+      logger.info(`got purse status ${j2s(purseStatus)}`);
       if (!mergeTimestamp || TalerProtocolTimestamp.isNever(mergeTimestamp)) {
         return { ready: false };
       } else {
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]