From b5b8f96cc94e3a3c0ee7d989819197ab5df393cd Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 12 Mar 2020 19:25:38 +0530 Subject: improved error reporting / towards a working recoup --- src/operations/refund.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/operations/refund.ts') 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: { -- cgit v1.2.3