Traceback
{% for frame in frames %}
{{ frame['filename'] }},
line {{ frame['lineno'] }},
in {{ frame['function'] }}
{% if frame['lines'] %}
{% for lineno, line in frame['lines'] %}
| {{ lineno }}. |
{{ line }} |
{% end %}
{% end %}
{% if frame['vars'] %}
Local variables
| Name |
Value |
{% for name, value in frame['vars'].items() %}
| {{ name }} |
{{ value }} |
{% end %}
{% end %}
{% end %}
{% for line in traceback.format_exception(exc_type, exc_value, exc_tb) %}
{{ line }}
{% end %}
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.