Skip to content
  • Angelos Evripiotis's avatar
    _signals.terminator_handler: wrap handlers in trys · 78fc8440
    Angelos Evripiotis authored
    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.
    78fc8440