Skip to content

Commit

Permalink
Raise deep scheduler exceptions to force a process restart.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbalogh authored and bolkedebruin committed Apr 5, 2016
1 parent 8854f28 commit 86f3463
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions airflow/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -716,6 +716,7 @@ def signal_handler(signum, frame):
self.logger.error("Tachycardia!")
except Exception as deep_e:
self.logger.exception(deep_e)
raise
finally:
settings.Session.remove()
executor.end()
Expand Down

0 comments on commit 86f3463

Please sign in to comment.