[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] 02/02: fix recoup error handling
From: |
gnunet |
Subject: |
[taler-wallet-core] 02/02: fix recoup error handling |
Date: |
Wed, 01 Dec 2021 12:23:22 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository wallet-core.
commit dbbe1b0a6173f70d59a5a2165632170cc1d90e03
Author: Florian Dold <florian@dold.me>
AuthorDate: Wed Dec 1 12:23:17 2021 +0100
fix recoup error handling
---
packages/taler-wallet-core/src/operations/recoup.ts | 4 ++--
1 file 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 b1f46e4b..8a4c2242 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}`);
});
}
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.