Use more definied error

This commit is contained in:
amcmanu3 2023-10-18 16:25:28 -04:00
parent f06d297ecd
commit 4f507f0cda

View File

@ -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."