commit 60eed9da67797c8b1856702fbafda8e821c0c65a
parent 4a0c6a5e45cb017733c9f5cb64b49edd09e9ce2d
Author: Florian Dold <dold@taler.net>
Date: Wed, 22 Jul 2026 00:29:44 +0200
wallet: await the operation in runWithProgressRetries
The result of f() was returned without being awaited, so a rejected
promise bypassed the surrounding catch and reached the caller directly.
Neither the backoff, the retry notification nor onRetryNow ever ran.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packages/taler-wallet-core/src/progress.ts b/packages/taler-wallet-core/src/progress.ts
@@ -217,7 +217,7 @@ export async function runWithProgressRetries<T>(
};
}
try {
- return f();
+ return await f();
} catch (e) {
if (!wex.progressContext) {
throw e;