taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 3bcac051ede24fa2ba82db3a425f0648c286d93e
parent 420493b3e608f3b245ebae308a318883f9f605f7
Author: Florian Dold <florian@dold.me>
Date:   Wed, 18 Jan 2023 00:17:07 +0100

wallet-core: log insufficient balance details

Diffstat:
Mpackages/taler-wallet-core/src/operations/pay-merchant.ts | 3+++
1 file 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 @@ -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,