{% autoescape debugger_escape %} {{ exc_type.__name__ }} at {{ handler.request.path }}

{{ exc_type.__name__ }} at {{ handler.request.path }}

{% if exc_value %}{{ exc_value }}{% else %}No exception message supplied{% end %}

Request method: {{ handler.request.method }}
Request URL: {{ handler.request.full_url() }}
Tornado version: {{ tornado_version }}
Exception type: {{ exc_type.__name__ }}
Exception value:
{{ exc_value }}
Exception location: {{ frames[0]['filename'] }}, line {{ frames[0]['lineno'] }}, in {{ frames[0]['function'] }}
Python executable: {{ sys_executable }}
Python version: {{ sys_version }}
Python path:
{{ pprint(sys_path) }}

Traceback

{% for index, frame in enumerate(frames) %}

{{ frame['filename'] }}, line {{ frame['lineno'] }}, in {{ frame['function'] }}

{% if frame['lines'] %} {% for lineno, line in frame['lines'] %} {% end %}
{{ lineno }}. {{ line }}
{% end %} {% if frame['vars'] %} Local variables {% for name, value in frame['vars'].items() %} {% end %}
Name Value
{{ name }} {{ value }}
{% end %}
{% end %}
    {% for line in traceback.format_exception(exc_type, exc_value, exc_tb) %}
        {{ line }}
    {% end %}
    

Request information

User

{{ handler.current_user }}

Query args

{% set query_args = handler.request.query_arguments %} {% if query_args %} {% for arg in query_args %} {% end %}
Name Value
{{ arg }} {{ query_args[arg] }}
{% else %}

No Query arguments

{% end %}

Body args

{% set body_args = handler.request.body_arguments %} {% if body_args %} {% for arg in body_args %} {% end %}
Name Value
{{ arg }} {{ body_args[arg] }}
{% else %}

No Body arguments

{% end %}

Headers

{% for arg, value in handler.request.headers.items() %} {% if arg == 'Cookie' %} {% else %} {% end %} {% end %}
Name Value
{{ arg }}
{{ pprint(value) }}
{{ value }}

App settings

{% for arg, value in app_settings.items() %} {% end %}
Name Value
{{ arg }} {{ value }}

You're seeing this error because you have debug=True in your Tornado app settings.

Change that to False, and Tornado will display a standard page generated by the handler for this status code.