def on_error(self, excep): log.err("Exception while running %s" % self.name) log.exception(excep) extract_exception_traceback_and_schedule_email(excep)
def on_error(self, excep): error = "Job %s died with runtime %.4f [low: %.4f, high: %.4f]" % \ (self.name, self.mean_time, self.low_time, self.high_time) log.err(error) log.exception(excep) extract_exception_traceback_and_schedule_email(excep)