taler-typescript-core

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

commit 1a7cd398fb752d059e05ce928236727d0754dad9
parent c61904ab96812016ca6e38ead79cbb134ef4c061
Author: Florian Dold <florian@dold.me>
Date:   Thu,  7 Dec 2023 18:26:11 +0100

-logging

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 @@ -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;