mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-02-03 12:51:37 +00:00
Fix wrong final status on bg-tasks
This commit is contained in:
@@ -70,9 +70,9 @@ def __run_pairlist(job_id: str, config_loc: Config):
|
||||
except (OperationalException, Exception) as e:
|
||||
logger.exception(e)
|
||||
ApiBG.jobs[job_id]['error'] = str(e)
|
||||
ApiBG.jobs[job_id]['status'] = 'failed'
|
||||
finally:
|
||||
ApiBG.jobs[job_id]['is_running'] = False
|
||||
ApiBG.jobs[job_id]['status'] = 'failed'
|
||||
ApiBG.pairlist_running = False
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user