#NEWLINE# def __exit__( self , exc_type , exc_value , tb ) : #NEWLINE# #INDENT# if ( exc_type is not None ) : #NEWLINE# #INDENT# kwargs = self . kwargs . copy ( ) #NEWLINE# kwargs [ 'exc_info' ] = ( exc_type , exc_value , tb ) #NEWLINE# self . logger . exception ( * self . args , ** kwargs ) #NEWLINE# #UNINDENT# return True