-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Description
I'm trying to make ignoreErrors work, and I can't figure how.
I'm using express with the following setup:
import express from 'express'
import Raven from 'raven'
Raven.config('the dsn', { ignoreErrors: ['BOOM'] }).install()
const app = express()
app.use(Raven.requestHandler())
app.get('/boom', (req, res) => {
throw new Error('BOOM')
})
app.use(Raven.errorHandler())When I make a request to http://myserver/boom, Sentry captures the error.
I tried /BOOM/ and /.*BOOM.*/ for ignoreErrors. The error is always sent.
I'm on [email protected]
Metadata
Metadata
Assignees
Labels
No labels