Skip to content
Commit 78fc8440 authored by Angelos Evripiotis's avatar Angelos Evripiotis Committed by Tristan Van Berkom
Browse files

_signals.terminator_handler: wrap handlers in trys

It's possible for the custom termination handlers to raise exceptions.
Indeed this was actually the case for utils._call(). They're especially
difficult to reach with tests, so make extra effort to insulate them.

Print any exceptions encountered as a regular traceback before exiting.
parent ac2bcb2c
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment