@sentry/browser
@sentry/node
raven-js
raven-node
_(raven for node)_^3.27.0
How can I cancel the automatic capture error of some kind of error ?
For example , 400 status code(because this kind of mistake is expected in my situation, I don't want it to appear in my Sentry Issues panel.)
Is there any way? thanks
In old raven-js you can use dataCallback
or ignoreErrors
configs - https://docs.sentry.io/clients/javascript/config/
In new SDK, beforeSend
- https://docs.sentry.io/learn/filtering/?platform=browser
@kamilogorek thank you
Most helpful comment
In old raven-js you can use
dataCallback
orignoreErrors
configs - https://docs.sentry.io/clients/javascript/config/In new SDK,
beforeSend
- https://docs.sentry.io/learn/filtering/?platform=browser