#NEWLINE# def _excepthook( type , value , tb ) : #NEWLINE# #INDENT# import logging #NEWLINE# logger = logging . getLogger ( 'lymph' ) #NEWLINE# logger . log ( logging . CRITICAL , 'Uncaught exception' , exc_info = ( type , value , tb ) )