def _processNoReportError(self, e): """Process errors without reporting """ Logger.get('requestHandler').info( 'Request %s finished with NoReportError: "%s"' % (id(self._req), e)) p = errors.WPNoReportError(self, e) return p.display()
def _processNotFoundError(self, e): """Process not found error; uses NoReportError template """ Logger.get('requestHandler').info( 'Request %s finished with NotFoundError: "%s"' % (id(self._req), e)) try: self._req.status = apache.HTTP_NOT_FOUND except NameError: pass p = errors.WPNoReportError(self, e) return p.display()
def _processNoReportError(self, e): """Process errors without reporting""" return errors.WPNoReportError(self, e).display()