##// END OF EJS Templates
Backport PR #6318: use write_error instead of get_error_html...
Backport PR #6318: use write_error instead of get_error_html get_error_html is removed in tornado 4.0 closes #6312 should be backported to 2.x, since it's a compatibility issue.

File last commit:

r14070:b9d0a5f7
r17829:4cdb6f42
Show More
error.html
31 lines | 593 B | text/html | HtmlLexer
{% extends "page.html" %}
{% block login_widget %}
{% endblock %}
{% block stylesheet %}
{{super()}}
<style type="text/css">
/* disable initial hide */
div#header, div#site {
display: block;
}
</style>
{% endblock %}
{% block site %}
<div class="error">
{% block h1_error %}
<h1>{{status_code}} : {{status_message}}</h1>
{% endblock h1_error %}
{% block error_detail %}
{% if message %}
<p>The error was:</p>
<div class="traceback-wrapper">
<pre class="traceback">{{message}}</pre>
</div>
{% endif %}
{% endblock %}
</header>
{% endblock %}