aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/withdraw.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-07-06 20:17:59 +0200
committerFlorian Dold <florian@dold.me>2023-07-06 20:17:59 +0200
commit8b06874f42715b0397a6735ff330e5f75eb0cb86 (patch)
tree608049f43d04fc375fe9e3f6599c18d4296fb479 /packages/taler-wallet-core/src/operations/withdraw.ts
parentd98f048fd65c46cd774eabdef8599efb75153ac3 (diff)
downloadwallet-core-8b06874f42715b0397a6735ff330e5f75eb0cb86.tar.xz
wallet-core: support passing transactionId to confirmPay
Diffstat (limited to 'packages/taler-wallet-core/src/operations/withdraw.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/withdraw.ts4
1 files changed, 4 insertions, 0 deletions
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]);
}
}