diff options
author | Florian Dold <florian@dold.me> | 2021-12-01 12:23:17 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-12-01 12:23:17 +0100 |
commit | dbbe1b0a6173f70d59a5a2165632170cc1d90e03 (patch) | |
tree | 433a99699e593912626953d5295cc0a22fd12a7d /packages/taler-wallet-core/src/operations | |
parent | 718595a57264c1bea55db9c00dcd2e0182afa0a3 (diff) | |
download | wallet-core-dbbe1b0a6173f70d59a5a2165632170cc1d90e03.tar.xz |
fix recoup error handling
Diffstat (limited to 'packages/taler-wallet-core/src/operations')
-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 b1f46e4ba..8a4c2242a 100644 --- a/packages/taler-wallet-core/src/operations/recoup.ts +++ b/packages/taler-wallet-core/src/operations/recoup.ts @@ -118,8 +118,8 @@ async function putGroupAsFinished( recoupGroup.scheduleRefreshCoins.map((x) => ({ coinPub: x })), RefreshReason.Recoup, ); - processRefreshGroup(ws, refreshGroupId.refreshGroupId).then((e) => { - console.error("error while refreshing after recoup", e); + processRefreshGroup(ws, refreshGroupId.refreshGroupId).catch((e) => { + logger.error(`error while refreshing after recoup ${e}`); }); } } |