Skip to content

Commit

Permalink
task_job_mgr: except KeyError
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-sanders committed Mar 15, 2019
1 parent 9ca798d commit 6c3c1e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cylc/task_job_mgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ def _manip_task_jobs_callback(
del bad_tasks[(point, name, submit_num)]
itask = tasks[(point, name, submit_num)]
callback(suite, itask, ctx, line)
except (LookupError, ValueError) as exc:
except (LookupError, ValueError, KeyError) as exc:
LOG.warning(
'Unhandled %s output: %s', ctx.cmd_key, line)
LOG.exception(exc)
Expand Down

0 comments on commit 6c3c1e3

Please sign in to comment.