Crashpad
Express middleware for Boom errors
Usage
Install this middleware and stop explicitly responding with errors from your application code!
npm install crashpad
var crashpad = ;var Boom = ; app; app;
Crashpad will handle:
- Errors created by the Boom module. (See Boom documentation for a list of these.)
- Error objects that have an integer "status" or "statusCode" attribute.
- Generic error objects (will respond with 500).
Right now Crashpad just sends back JSON payloads. Eventually, we'll have support for fancy rendered error pages! If you need something like that now, check out express-error-handler.
Contributing
Please follow our Code of Conduct when contributing to this project.
$ git clone https://github.com/goodeggs/crashpad && cd crashpad
$ npm install
$ npm test