Beispiel #1
0
    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()
Beispiel #2
0
    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()
Beispiel #3
0
 def gotErrorInResult(self, id, reason):
     self.logger.error("Circuit #%s: got an error within an result: %s" % (id, extractExceptionMessage(reason)))
     return DIRECTIVE.GIVE_UP
Beispiel #4
0
 def gotErrorInResult(self, id, reason):
     self.logger.error("Circuit #%s: got an error within an result: %s" % (id, extractExceptionMessage(reason)))
     return DIRECTIVE.GIVE_UP