diff options
author | Florian Dold <florian@dold.me> | 2023-12-07 18:26:11 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-12-07 18:26:11 +0100 |
commit | 1a7cd398fb752d059e05ce928236727d0754dad9 (patch) | |
tree | a715026fe3263900ee5d0fca1d9acfdf58e33938 | |
parent | c61904ab96812016ca6e38ead79cbb134ef4c061 (diff) | |
download | wallet-core-1a7cd398fb752d059e05ce928236727d0754dad9.tar.xz |
-logging
-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 157541ed3..fcaabed56 100644 --- a/packages/taler-wallet-core/src/operations/pay-merchant.ts +++ b/packages/taler-wallet-core/src/operations/pay-merchant.ts @@ -2634,6 +2634,9 @@ export async function startRefundQueryForUri( ]); }); if (!purchaseRecord) { + logger.error( + `no purchase for order ID "${parsedUri.orderId}" from merchant "${parsedUri.merchantBaseUrl}" when processing "${talerUri}"`, + ); throw Error("no purchase found, can't refund"); } const proposalId = purchaseRecord.proposalId; |