commit 78f93e66ff434fe52baab77155056137c80f30c6
parent 4ffb4a94e8279896a11d65b66d71beb66ed6d009
Author: Florian Dold <florian@dold.me>
Date: Tue, 5 Mar 2024 01:28:53 +0100
-missing return
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packages/taler-wallet-core/src/shepherd.ts b/packages/taler-wallet-core/src/shepherd.ts
@@ -343,7 +343,6 @@ export class TaskSchedulerImpl implements TaskScheduler {
);
const startTime = AbsoluteTime.now();
logger.trace(`Shepherd for ${taskId} will call handler`);
- // FIXME: This should already return the retry record.
const res = await runTaskWithErrorReporting(
this.ws,
taskId,
@@ -358,6 +357,7 @@ export class TaskSchedulerImpl implements TaskScheduler {
}
if (this.ws.stopped) {
logger.info("wallet stopped, not processing result");
+ return;
}
wex.oc.observe({
type: ObservabilityEventType.ShepherdTaskResult,