Пример #1
0
 def _log(self, exc):
     """Log the exception in a log file and as an OOPS."""
     Runner._log(self, exc)
     error_utility = ErrorReportingUtility()
     error_utility.configure(section_name='mailman')
     error_utility.raising(sys.exc_info())
Пример #2
0
 def _log(self, exc):
     """Log the exception in a log file and as an OOPS."""
     Runner._log(self, exc)
     error_utility = ErrorReportingUtility()
     error_utility.configure(section_name="mailman")
     error_utility.raising(sys.exc_info())