def _processGeneralError(self, e): """Treats general errors occured during the process of a RH. """ Logger.get('requestHandler').info('Request %s finished with: "%s"' % (id(self._req), e)) p = errors.WPGenericError(self) return p.display()
def _processGeneralError(self, e): """Treats general errors occured during the process of a RH.""" if Config.getInstance().getPropagateAllExceptions(): raise return errors.WPGenericError(self).display()