diff options
author | Florian Dold <florian@dold.me> | 2022-11-02 14:23:26 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-11-02 14:23:26 +0100 |
commit | 1e6e1a22cdb16975f3a914b2f1be6db0ae1b241d (patch) | |
tree | ef3b0bcf0d8c8bf8bd3fd2082b53d450f7a09f11 /packages/taler-wallet-core/src/operations/recoup.ts | |
parent | fe011321a4b65bc0736634ee2a4d9c7bf0618351 (diff) | |
download | wallet-core-1e6e1a22cdb16975f3a914b2f1be6db0ae1b241d.tar.xz |
wallet-core: fix exchange management test case, surface exchange update error info in list
Diffstat (limited to 'packages/taler-wallet-core/src/operations/recoup.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/recoup.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/operations/recoup.ts b/packages/taler-wallet-core/src/operations/recoup.ts index c2df6115b..e92c805bd 100644 --- a/packages/taler-wallet-core/src/operations/recoup.ts +++ b/packages/taler-wallet-core/src/operations/recoup.ts @@ -54,7 +54,7 @@ import { checkDbInvariant } from "../util/invariants.js"; import { GetReadWriteAccess } from "../util/query.js"; import { OperationAttemptResult, - runOperationHandlerForResult, + unwrapOperationHandlerResultOrThrow, } from "../util/retries.js"; import { createRefreshGroup, processRefreshGroup } from "./refresh.js"; import { internalCreateWithdrawalGroup } from "./withdraw.js"; @@ -307,7 +307,7 @@ export async function processRecoupGroup( forceNow?: boolean; } = {}, ): Promise<void> { - await runOperationHandlerForResult( + await unwrapOperationHandlerResultOrThrow( await processRecoupGroupHandler(ws, recoupGroupId, options), ); return; |