connect-raven

1.0.0 • Public • Published

connect-raven

connect/express error middleware logging through raven

use

var connect_raven = require('connect-raven');
 
var app = express();
 
// other middleware here
 
// the router should come before the error handling
app.use(app.router);
 
// make sure to use this middleware after the router
app.use(connect_raven( {{ SENTRY DSN }} ));
 
// routes ...
// app.get
// app.post
 

references

Readme

Keywords

Package Sidebar

Install

npm i connect-raven

Weekly Downloads

5

Version

1.0.0

License

BSD

Last publish

Collaborators

  • defunctzombie