Skip to content
Myr

add "verbose errors" option to error-pages example

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by TJ Holowaychuk · committed by TJ Holowaychuk · parent dd338b5 · Browse files · 2 files+16 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+16 added−2 removed

  • other:+16 added−2 removed

2 files+16 added−2 removed

modified:examples/error-pages/views/500.jade+4 added-1 removed
5 unmodified lines
6extends error78block content9 h1 Error: #{error.message}10 if settings['verbose errors']10 pre= error.stack11 pre= error.stack12 else13 p An error ocurred!
modified:examples/error-pages/index.js+12 added-1 removed