(self, det, emsg)
Called on after exception processing.

        Can do additional logging.

        @param det: exception details
        @param emsg: exception msg
Called on after exception processing.
Called on after exception processing .
def exception_hook(self, det, emsg):
        """Called on after exception processing.

        Can do additional logging.

        @param det: exception details
        @param emsg: exception msg
        """
        lm = "Job %s crashed: %s" % (self.job_name, emsg)
        if self._is_quiet_exception(det):
            self.log.warning(lm)
        else:
            self.log.exception(lm)
def exception_hook ( self , det , emsg ) : lm = "Job %s crashed: %s" % ( self . job_name , emsg ) if self . _is_quiet_exception ( det ) : self . log . warning ( lm ) else : self . log . exception ( lm )