diff options
author | Florian Dold <florian@dold.me> | 2024-03-05 01:28:53 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-03-05 01:28:53 +0100 |
commit | 78f93e66ff434fe52baab77155056137c80f30c6 (patch) | |
tree | 6ac5642a7aaa3a3f5bc63d8b9ef756f320e57f00 /packages/taler-wallet-core | |
parent | 4ffb4a94e8279896a11d65b66d71beb66ed6d009 (diff) | |
download | wallet-core-78f93e66ff434fe52baab77155056137c80f30c6.tar.gz wallet-core-78f93e66ff434fe52baab77155056137c80f30c6.tar.bz2 wallet-core-78f93e66ff434fe52baab77155056137c80f30c6.zip |
-missing return
Diffstat (limited to 'packages/taler-wallet-core')
-rw-r--r-- | packages/taler-wallet-core/src/shepherd.ts | 2 |
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, |