From 8b06874f42715b0397a6735ff330e5f75eb0cb86 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 6 Jul 2023 20:17:59 +0200 Subject: wallet-core: support passing transactionId to confirmPay --- packages/taler-wallet-core/src/operations/withdraw.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'packages/taler-wallet-core/src/operations') diff --git a/packages/taler-wallet-core/src/operations/withdraw.ts b/packages/taler-wallet-core/src/operations/withdraw.ts index f972d3cb1..a56a1a100 100644 --- a/packages/taler-wallet-core/src/operations/withdraw.ts +++ b/packages/taler-wallet-core/src/operations/withdraw.ts @@ -972,6 +972,10 @@ async function processPlanchetExchangeBatchRequest( responses.ev_sigs.push(r); responseCoinIdxs.push(requestCoinIdxs[i]); } catch (e) { + if (e instanceof TalerError) { + logger.warn(`withdrawing planchet failed: ${j2s(e.errorDetail)}`); + logger.warn(`planchet denom pub hash: ${batchReq.planchets[i].denom_pub_hash}`); + } await storeCoinError(e, requestCoinIdxs[i]); } } -- cgit v1.2.3