Skip to content
Myr

500.ejs

This file

Path

examples/error-pages/views/500.ejs

8 lines · 208 bytes

Last changed by

Merge tag '3.18.6'Douglas Christopher Wilsonbefore adoption4aa2801

History of this file

Take it

Merge tag '3.18.6'Douglas Christopher Wilsonbefore adoption4aa2801

lines 1–8why, one step back
1<% include error_header %>
2<h2>Error: <%= error.message %></h2>3<% if (settings['verbose errors']) { %>4 <pre><%= error.stack %></pre>5<% } else { %>6 <p>An error occurred!</p>7<% } %>8<% include footer %>