Skip to content
Snippets Groups Projects
Commit f4bf79d0 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

TMSS-1629: go to unschedulable state for each unhandled exception.

parent d055a053
No related branches found
No related tags found
1 merge request!805Resolve TMSS-1629
......@@ -222,7 +222,7 @@ class Scheduler:
try:
logger.info("Scheduling fixed_time scheduled scheduling unit id=%d at '%s'", schedulable_unit.id, start_time)
schedule_independent_subtasks_in_scheduling_unit_blueprint(schedulable_unit, start_time)
except SubtaskSchedulingException as e:
except Exception as e:
logger.error(e)
mark_independent_subtasks_in_scheduling_unit_blueprint_as_unschedulable(schedulable_unit, reason=str(e))
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment