aboutsummaryrefslogtreecommitdiff
path: root/src/operations/refund.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/operations/refund.ts')
-rw-r--r--src/operations/refund.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/operations/refund.ts b/src/operations/refund.ts
index 6a96868a3..27d83230a 100644
--- a/src/operations/refund.ts
+++ b/src/operations/refund.ts
@@ -271,7 +271,7 @@ export async function applyRefund(
): Promise<string> {
const parseResult = parseRefundUri(talerRefundUri);
- console.log("applying refund");
+ console.log("applying refund", parseResult);
if (!parseResult) {
throw Error("invalid refund URI");
@@ -283,7 +283,7 @@ export async function applyRefund(
]);
if (!purchase) {
- throw Error("no purchase for the taler://refund/ URI was found");
+ throw Error(`no purchase for the taler://refund/ URI (${talerRefundUri}) was found`);
}
console.log("processing purchase for refund");