Skip to content
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

[FEATURE]: Ability to ignore certain kind of errors #5370

Open
mathsnunes opened this issue Mar 6, 2025 · 0 comments
Open

[FEATURE]: Ability to ignore certain kind of errors #5370

mathsnunes opened this issue Mar 6, 2025 · 0 comments

Comments

@mathsnunes
Copy link

Package Name

No response

Package Version(s)

No response

Describe the feature you'd like

We're using dd-trace with express and I'm trying to understand how I can ignore some errors from Error Tracking.

Giving a better context, we're creating some classes to handle specific business errors, and when required we throw these exceptions. Express GlobalErrorHandler then catches these errors and based on their type returns the BadRequest statusCode.

It happens we don't want this kind of exception to appear in Error Tracking, they are not exactly an error we should care about as they are expected.

I dig the docs but haven't found anything related to this. I also saw something related to this request here DataDog/dd-trace-php#1231

Is your feature request related to a problem?

No response

Describe alternatives you've considered

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant