diff options
author | Florian Dold <florian@dold.me> | 2023-01-18 00:17:07 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-01-18 00:17:07 +0100 |
commit | 3bcac051ede24fa2ba82db3a425f0648c286d93e (patch) | |
tree | 13b30ad1d2b66e54c81df394ec21eb3aff66e0c1 | |
parent | 420493b3e608f3b245ebae308a318883f9f605f7 (diff) |
wallet-core: log insufficient balance details
-rw-r--r-- | packages/taler-wallet-core/src/operations/pay-merchant.ts | 3 |
1 files changed, 3 insertions, 0 deletions
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, |