mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-02 01:53:05 +00:00
Add "failed" state to bgjob task response
This commit is contained in:
@@ -354,6 +354,7 @@ def __run_pairlist(job_id: str, config_loc: Config):
|
||||
ApiBG.jobs[job_id]['error'] = str(e)
|
||||
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