@konan22/express-error-logging-middleware

It is a middleware compatible with express framework, needs to be placed as middleware in route function after the controller call. Stores all 400 and 500 errors on server that are passed as next(err) or next(new Error()) way. And helps into troubleshooti

Browse on unpkg