code: def _error_handler(self, exc, request, response, params):
          
          if isinstance(exc, falcon.HTTPError):
              raise exc
          LOG.exception(exc)
          raise falcon.HTTPInternalServerError('Internal server error',
                                               six.text_type(exc))
docs: Handler error