1.0.0 • Published 11 years ago

connect-raven v1.0.0

Weekly downloads
2
License
BSD
Repository
github
Last release
11 years ago

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

1.0.0

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago

0.0.0

11 years ago