Categories
Node.js Quick Tips Quick Tips

Express uses finalhandler for the default error handler

< 1 min read

Today I learnt: After lots of confused code searching and even using node inspect

Express uses a library named finalhandler to implement the default error handler. Look there if you need to debug the Express default error handler behaviour.

https://github.com/pillarjs/finalhandler

Original tweet