Skip to content

Commit b1ec02f

Browse files
committed
wip
1 parent 23d2f8f commit b1ec02f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scheduler/worker/scheduler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def enqueue_scheduled_jobs(self) -> None:
166166
def run_scheduler(scheduler: WorkerScheduler) -> None:
167167
try:
168168
scheduler.work()
169-
except: # noqa
169+
except Exception: # noqa
170170
logger.error(f"Scheduler [PID {os.getpid()}] raised an exception.\n{traceback.format_exc()}")
171171
raise
172172
logger.info(f"Scheduler with PID {os.getpid()} has stopped")

0 commit comments

Comments
 (0)