-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat(nestjs): Filter 4xx errors #12695
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Generally lgtm, would you mind adding an E2E test? |
@lforst sure, will take a look |
console.log("UNEXPECTED EXCEPTION"); | ||
console.log(errorEvent); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
console.log("UNEXPECTED EXCEPTION"); | |
console.log(errorEvent); |
console.log("EXPECTED EXCEPTION"); | ||
console.log(errorEvent); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
console.log("EXPECTED EXCEPTION"); | |
console.log(errorEvent); |
I guess a leftover of debugging? :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes! Sorry the test was not done yet, I just pushed for debugging. Should have put it back into draft mode :)
Small change filtering expected errors from being reported to sentry in the nestjs sdk.
Tested manually on my sample app.
Fixes #12523