#NEWLINE# def generic_exception_processor( exc_tup , **kwargs ) : #NEWLINE# #INDENT# logger . warning ( msg = 'retrying after encountering exception' , detail = 'Exception information dump: \n{0}' . format ( '' . join ( traceback . format_exception ( * exc_tup ) ) ) , hint = 'A better error message should be written to handle this exception.  Please report this output and, if possible, the situation under which it arises.' ) #NEWLINE# del exc_tup