Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
connect error handling middleware to log via raven
JavaScript
branch: master
Failed to load latest commit information.
test
.gitignore init
AUTHORS init
LICENSE init
README.md update readme example
index.js only send 500 and higher errors to raven
package.json 1.0.0

README.md

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

Something went wrong with that request. Please try again.