def got_error_in_error(self, failure): """ An errorback called if an error occured in an error response. @param failure: reason of error @type failure: twisted failure """ logging.getLogger().error("Circuit #%s: got an error within an error: %s" % (self.coh.id, extractExceptionMessage(failure))) return self.give_up()
def gotErrorInResult(self, id, reason): self.logger.error("Circuit #%s: got an error within an result: %s" % (id, extractExceptionMessage(reason))) return DIRECTIVE.GIVE_UP