gnunet-svn
[Top][All Lists]
Advanced

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

[taler-wallet-core] 02/03: -logging


From: gnunet
Subject: [taler-wallet-core] 02/03: -logging
Date: Tue, 07 Jan 2025 16:25:03 +0100

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

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

commit 9208e55b8c3e72761f161a54483c99b9c2ba769b
Author: Florian Dold <florian@dold.me>
AuthorDate: Tue Jan 7 13:05:26 2025 +0100

    -logging
---
 packages/taler-wallet-core/src/pay-merchant.ts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/packages/taler-wallet-core/src/pay-merchant.ts 
b/packages/taler-wallet-core/src/pay-merchant.ts
index b0f010c47..360eea71e 100644
--- a/packages/taler-wallet-core/src/pay-merchant.ts
+++ b/packages/taler-wallet-core/src/pay-merchant.ts
@@ -3387,6 +3387,8 @@ async function processPurchaseAbortingRefund(
     cancellationToken: wex.cancellationToken,
   });
 
+  logger.trace(`abort response status: ${j2s(abortHttpResp.status)}`);
+
   if (abortHttpResp.status === HttpStatusCode.NotFound) {
     const err = await readTalerErrorResponse(abortHttpResp);
     if (
@@ -3409,6 +3411,10 @@ async function processPurchaseAbortingRefund(
     codecForAbortResponse(),
   );
 
+  if (logger.shouldLogTrace()) {
+    logger.trace(`abort response: ${j2s(abortResp)}`);
+  }
+
   const refunds: MerchantCoinRefundStatus[] = [];
 
   if (abortResp.refunds.length != abortingCoins.length) {

-- 
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]