diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-07-22 14:22:03 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-07-22 14:22:03 +0530 |
commit | e60563fb540c04d9ba751fea69c1fc0f1de598b5 (patch) | |
tree | 45f7c86b66dc150d413f9855efaa6341e4a44624 /src/headless/integrationtest.ts | |
parent | f4a8702b3cf93f9edf96d1d1c8cb88baa309e301 (diff) | |
download | wallet-core-e60563fb540c04d9ba751fea69c1fc0f1de598b5.tar.xz |
consistent error handling for HTTP request (and some other things)
Diffstat (limited to 'src/headless/integrationtest.ts')
-rw-r--r-- | src/headless/integrationtest.ts | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/headless/integrationtest.ts b/src/headless/integrationtest.ts index 786907a09..db96d57c4 100644 --- a/src/headless/integrationtest.ts +++ b/src/headless/integrationtest.ts @@ -25,7 +25,6 @@ import { NodeHttpLib } from "./NodeHttpLib"; import { Wallet } from "../wallet"; import { Configuration } from "../util/talerconfig"; import { Amounts, AmountJson } from "../util/amounts"; -import { OperationFailedAndReportedError, OperationFailedError } from "../operations/errors"; const logger = new Logger("integrationtest.ts"); @@ -70,9 +69,9 @@ async function makePayment( } const confirmPayResult = await wallet.confirmPay( - preparePayResult.proposalId, - undefined, - ); + preparePayResult.proposalId, + undefined, + ); console.log("confirmPayResult", confirmPayResult); |