Skip to content
Myr

Moved show-exceptions to express/pages

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

authored by visionmedia · committed by visionmedia · parent 603558c · Browse files · 3 files+33 added−33 removed
This commit

State

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

Diff stats

3 files+33 added−33 removed

  • other:+33 added−33 removed

3 files+33 added−33 removed

added:lib/express/pages/show-exceptions.js+32 added
modified:lib/express/core.js+1 added-1 removed
259 unmodified lines
260 catch (e) {261 if (e instanceof ExpressError)262 throw e263 if (accepts('html') && set('show exceptions'))264 halt(500, require('express/show-exceptions').render(e))264 halt(500, require('express/pages/show-exceptions').render(e))265 else266 halt(500)267 if (set('throw exceptions'))268 throw e
37 unmodified lines
deleted:lib/express/show-exceptions.js-32 removed