mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Use more definied error
This commit is contained in:
parent
f06d297ecd
commit
4f507f0cda
@ -478,7 +478,7 @@ class TasksManager:
|
||||
try:
|
||||
if job_data["interval"] != "reaction":
|
||||
self.scheduler.remove_job(str(sch_id))
|
||||
except:
|
||||
except JobLookupError:
|
||||
logger.info(
|
||||
"No job found in update job. "
|
||||
"Assuming it was previously disabled. Starting new job."
|
||||
|
Loading…
Reference in New Issue
Block a user