_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.

This is a dup of !203 (closed), in order to pass the CI.

Merge request reports

Loading