aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-08-12 21:11:54 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-08-12 21:11:54 +0530
commit4891c4c7ceec46781fa2d7b7b5a3347616587681 (patch)
tree72dde9ed637aed9eef59d99b5fcf9f6cfd0f33da /packages
parent44dcfb379005097e6337754f8bf8ff267e5c8deb (diff)
logging
Diffstat (limited to 'packages')
-rw-r--r--packages/taler-wallet-core/src/operations/refund.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/operations/refund.ts b/packages/taler-wallet-core/src/operations/refund.ts
index 1462600f4..9ee71012e 100644
--- a/packages/taler-wallet-core/src/operations/refund.ts
+++ b/packages/taler-wallet-core/src/operations/refund.ts
@@ -470,6 +470,7 @@ async function processPurchaseQueryRefundImpl(
return;
}
+
const requestUrl = new URL(
`orders/${purchase.contractData.orderId}`,
purchase.contractData.merchantBaseUrl,
@@ -479,6 +480,8 @@ async function processPurchaseQueryRefundImpl(
purchase.contractData.contractTermsHash,
);
+ logger.trace(`making refund request to ${requestUrl.href}`);
+
const request = await ws.http.get(requestUrl.href);
logger.trace("got json", JSON.stringify(await request.json(), undefined, 2));