{% if not is_email %} {% endif %}

{% if exception_type %}{{ exception_type }}{% else %}Report{% endif %} {% if handler %} at {{ handler.request.uri }}{% endif %}

{% if exception_value %}{{ exception_value|escape }}{% else %}No exception message supplied{% endif %}
{% if handler %} {% endif %} {% if exception_type %} {% endif %} {% if exception_type and exception_value %} {% endif %} {% if lastframe %} {% endif %}
Request Method: {{ handler.request.method }}
Request URL: {{ handler.request.uri }}
Tornado Version: {{ tornado_version_info }}
TornadoApi Version: {{ tornadoapi_version_info }}
Exception Type: {{ exception_type }}
Exception Value:
{{ exception_value|escape }}
Exception Location: {{ lastframe.filename }} in {{ lastframe.function }}, line {{ lastframe.lineno }}
Python Executable: {{ sys_executable }}
Python Version: {{ sys_version_info }}
Python Path:
{{ sys_path|pprint }}
Server time: {{ server_time }}
{% if unicode_hint %}

Unicode error hint

The string that could not be encoded/decoded was: {{ unicode_hint }}

{% endif %} {% if template_does_not_exist %}

Template-loader postmortem

{% if postmortem %}

Tornado tried loading these templates, in this order:

{% for entry in postmortem %}

Using engine {{ entry.backend.name }}:

{% endfor %} {% else %}

No templates were found because your 'TEMPLATES' setting is not configured.

{% endif %}
{% endif %} {% if template_info %}

Error during template rendering

In template {{ template_info.name }}, error at line {{ template_info.line }}

{{ template_info.message }}

{% for source_line in template_info.source_lines %} {% if source_line.0 == template_info.line %} {% else %} {% endif %} {% endfor %}
{{ source_line.0 }} {{ template_info.before }}{{ template_info.during }}{{ template_info.after }}
{{ source_line.0 }} {{ source_line.1 }}
{% endif %} {% if frames %}

Traceback {% if not is_email %} Switch to copy-and-paste view{% endif %}

{% if not is_email %}


{% endif %} {% endif %}

Request information

{% if handler %} {% if user_str %}

USER

{{ user_str }}

{% endif %}

GET

{% if request_GET_items %} {% for k, v in request_GET_items %} {% endfor %}
Variable Value
{{ k }}
{{ v|pprint }}
{% else %}

No GET data

{% endif %}

POST

{% if filtered_POST_items %} {% for k, v in filtered_POST_items %} {% endfor %}
Variable Value
{{ k }}
{{ v|pprint }}
{% else %}

No POST data

{% endif %}

FILES

{% if request_FILES_items %} {% for k, v in request_FILES_items %} {% endfor %}
Variable Value
{{ k }}
{{ v|pprint }}
{% else %}

No FILES data

{% endif %} {% if request_COOKIES_items %} {% for k, v in request_COOKIES_items %} {% endfor %}
Variable Value
{{ k }}
{{ v|pprint }}
{% else %}

No cookie data

{% endif %}

HEADERS

{% for var in handler.request.headers.get_all()|sort(0) %} {% endfor %}
Variable Value
{{ var.0 }}
{{ var.1|pprint }}
{% else %}

Request data not supplied

{% endif %} {% if app_settings %}

AppSettings

Tornado Application settings

{% for var in app_settings.items()|sort(0) %} {% endfor %}
Setting Value
{{ var.0 }}
{{ var.1|pprint }}
{% endif %}

Settings

Using settings module {{ settings.SETTINGS_MODULE }}

{% for var in settings.items()|sort(0) %} {% endfor %}
Setting Value
{{ var.0 }}
{{ var.1|pprint }}
{% if not is_email %}

You're seeing this error because you have serve_traceback = True in your Tonado Application settings. Change that to False, and TonadoApi will display a standard page generated by the handler for this status code.

{% endif %}