Change error.html

This commit is contained in:
cuom1999 2020-08-05 11:50:08 -05:00
parent 72ff021a33
commit 50a576fd5c

View file

@ -3,23 +3,15 @@
<title>{{ code }} - {{ id }}</title> <title>{{ code }} - {{ id }}</title>
<style> <style>
body { body {
color: #FFFFFF; font-size: 16px;
background-color: #000080;
font-family: Lucida Console, Monospace, serif;
font-size: 14px;
font-smooth: never; font-smooth: never;
-webkit-font-smoothing: none; -webkit-font-smoothing: none;
margin-left: 50px; margin-left: 50px;
margin-right: 50px;
margin-top: 20px; margin-top: 20px;
} }
a {
color: #FFFFFF;
font-weight: bold
}
pre { pre {
font-family: Lucida Console, Monospace, serif;
line-height: 1.3; line-height: 1.3;
font-smooth: never; font-smooth: never;
-webkit-font-smoothing: none; -webkit-font-smoothing: none;
@ -29,9 +21,10 @@
</head> </head>
<body> <body>
<h2>SIGSEGV: {{ id }}</h2> <h2>SIGSEGV: {{ id }}</h2>
<hr/>
<pre>{{ description }} <pre>{{ description }}
site: fatal signal: Segmentation fault site: fatal signal: Segmentation fault
site died (signal <b>{{ code }}</b>, exit -11)<br><br>panic: <a href="javascript:history.back()">go back</a></pre> site died (signal <b>{{ code }}</b>, exit -11)<br><br><a href="javascript:history.back()">Go back</a></pre>
{% if request.user.is_superuser and traceback %} {% if request.user.is_superuser and traceback %}
<pre>{{ traceback }}</pre> <pre>{{ traceback }}</pre>
{% endif %} {% endif %}