- Bug Fix: In error.js set
signal.responded
tofalse
to allow custom error routes to use$.end()
- Bug Fix: In error.js check if
app.routes.error.length
is more than 0 to only iterate through custom error handlers if there are any. This allows passing the functionality to the default error handler page
Now using $.end()
should work as expected even with a html preprocessor enabled within the callback of app.error()
:
app.error(function($){
$.end()
})