update error handling
This commit is contained in:
parent
c2bb32dcf2
commit
1c84982232
2 changed files with 2 additions and 2 deletions
|
@ -14,8 +14,6 @@
|
|||
<h1 class="center warning">500 Internal Server Error</h1>
|
||||
<p class="center warning">An error has occurred on the server.</p>
|
||||
<% if (error) { %>
|
||||
<h2 class="center warning">Error message:</h2>
|
||||
<pre class="center warning"><%= error.message %></pre>
|
||||
<h2 class="center warning">Stack trace:</h2>
|
||||
<pre class="center warning"><%= error.stack %></pre>
|
||||
<% } %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue