summaryrefslogtreecommitdiff
path: root/src/operations/refund.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-03-12 19:25:38 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-03-12 19:25:38 +0530
commitb5b8f96cc94e3a3c0ee7d989819197ab5df393cd (patch)
tree0382770a735c4f43e09bfb9d03345bc93ecc498a /src/operations/refund.ts
parent2ec6799c8c6836d44944460a41fabefb8eb8186f (diff)
downloadwallet-core-b5b8f96cc94e3a3c0ee7d989819197ab5df393cd.tar.gz
wallet-core-b5b8f96cc94e3a3c0ee7d989819197ab5df393cd.tar.bz2
wallet-core-b5b8f96cc94e3a3c0ee7d989819197ab5df393cd.zip
improved error reporting / towards a working recoup
Diffstat (limited to 'src/operations/refund.ts')
-rw-r--r--src/operations/refund.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/operations/refund.ts b/src/operations/refund.ts
index 9d1c5308e..c856bb7d2 100644
--- a/src/operations/refund.ts
+++ b/src/operations/refund.ts
@@ -440,7 +440,7 @@ async function processPurchaseApplyRefundImpl(
body = await resp.json();
} catch {}
const m = "refund request (at exchange) failed";
- throw new OperationFailedError(m, {
+ throw new OperationFailedError({
message: m,
type: "network",
details: {