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 fileFast, unopinionated, minimalist web framework for Node.js.
0 open asksLanded Decided by oscabriel
a8a8564perf: remove argument reassignments in ViewDouglas Christopher Wilson ·
examples/error-pages/views/500.ejs
8 lines · 208 bytes
Merge tag '3.18.6' · Douglas Christopher Wilson · before adoption · 4aa2801 ·
History of this file8 lines · 208 bytes
Merge tag '3.18.6' · Douglas Christopher Wilson · before adoption · 4aa2801 ·
lines 1–8why, one step back1<% 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 %>