예제 #1
0
파일: types.py 프로젝트: pavelpromin/mmc
    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()
예제 #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()
예제 #3
0
파일: types.py 프로젝트: pavelpromin/mmc
 def gotErrorInResult(self, id, reason):
     self.logger.error("Circuit #%s: got an error within an result: %s" % (id, extractExceptionMessage(reason)))
     return DIRECTIVE.GIVE_UP
예제 #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