aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/shepherd.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-core/src/shepherd.ts')
-rw-r--r--packages/taler-wallet-core/src/shepherd.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/shepherd.ts b/packages/taler-wallet-core/src/shepherd.ts
index 0544288ba..90cb53aac 100644
--- 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,