diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-03-12 19:25:38 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-03-12 19:25:38 +0530 |
commit | b5b8f96cc94e3a3c0ee7d989819197ab5df393cd (patch) | |
tree | 0382770a735c4f43e09bfb9d03345bc93ecc498a /src/operations/refund.ts | |
parent | 2ec6799c8c6836d44944460a41fabefb8eb8186f (diff) | |
download | wallet-core-b5b8f96cc94e3a3c0ee7d989819197ab5df393cd.tar.xz |
improved error reporting / towards a working recoup
Diffstat (limited to 'src/operations/refund.ts')
-rw-r--r-- | src/operations/refund.ts | 2 |
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: { |