

def exception_handler(self, exc_info, environ):
    simple_html_error = False
    if self.xmlhttp_key:
        get_vars = request.parse_querystring(environ)
        if dict(get_vars).get(self.xmlhttp_key):
            simple_html_error = True
    return handle_exception(exc_info, simple_html_error['wsgi.errors'], html=True, debug_mode=self.debug_mode, error_email=self.error_email, error_log=self.error_log, show_exceptions_in_wsgi_errors=self.show_exceptions_in_wsgi_errors, error_email_from=self.from_address, smtp_server=self.smtp_server, smtp_username=self.smtp_username, smtp_password=self.smtp_password, smtp_use_tls=self.smtp_use_tls, error_subject_prefix=self.error_subject_prefix, error_message=self.error_message, simple_html_error=simple_html_error)

dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Paste-2.0.1/paste/exceptions/errormiddleware.py ErrorMiddleware.exception_handler/VarMisuse@60/87 `environ`->`simple_html_error`