gnunet-svn
[Top][All Lists]
Advanced

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

[taler-wallet-core] branch master updated: wallet-core: log insufficient


From: gnunet
Subject: [taler-wallet-core] branch master updated: wallet-core: log insufficient balance details
Date: Wed, 18 Jan 2023 00:17:09 +0100

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

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

The following commit(s) were added to refs/heads/master by this push:
     new 3bcac051e wallet-core: log insufficient balance details
3bcac051e is described below

commit 3bcac051ede24fa2ba82db3a425f0648c286d93e
Author: Florian Dold <florian@dold.me>
AuthorDate: Wed Jan 18 00:17:07 2023 +0100

    wallet-core: log insufficient balance details
---
 packages/taler-wallet-core/src/operations/pay-merchant.ts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/packages/taler-wallet-core/src/operations/pay-merchant.ts 
b/packages/taler-wallet-core/src/operations/pay-merchant.ts
index 83c6b74d3..54ebdb5a4 100644
--- a/packages/taler-wallet-core/src/operations/pay-merchant.ts
+++ b/packages/taler-wallet-core/src/operations/pay-merchant.ts
@@ -1373,6 +1373,9 @@ export async function checkPaymentByProposalId(
 
     if (res.type !== "success") {
       logger.info("not allowing payment, insufficient coins");
+      logger.info(
+        `insufficient balance details: ${j2s(res.insufficientBalanceDetails)}`,
+      );
       return {
         status: PreparePayResultType.InsufficientBalance,
         contractTerms: d.contractTermsRaw,

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