Monday, 27 November 2017

What is the best approach to handling errors in Production of express.js / node app?

I know errorHandler is only used for development, but what about your approaches for Production?const errorHandler = require('errorhandler');// routes app.get('/', homeController.index);// error handler. app.use(errorHandler());

Submitted November 27, 2017 at 10:59PM by _Nodejs

No comments:

Post a Comment