Beispiel #1
0
 def failTask(self, reason, logIt=True):
     if logIt:
         logger.logFailure(reason, "Fatal error in task runner:")
     self.sendStatus(JobStatus.from_failure(reason,
             "Fatal error in task runner"))
Beispiel #2
0
 def on_error(reason):
     rmake_log.logFailure(reason, "Daemon startup failed:")
     try:
         self.reactor.stop()
     except twerror.ReactorNotRunning:
         pass
Beispiel #3
0
 def render_crashed(failure):
     logger.logFailure(failure, "Crash in RPC response rendering:")
     request.setResponseCode(500)
     request.finish()