Skip to content

v0.16.0

Latest
Compare
Choose a tag to compare
@adamhalasz adamhalasz released this 04 May 22:49
· 1 commit to master since this release
  • Bug Fix: In error.js set signal.responded to false 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()
})