Skip to main content

How can I report only manual exceptions/errors?

Updated over a month ago

Issue

We have this requirement where we want to only report exceptions/errors manually from within the code and not all exceptions, which is enabled by default.

Applies To

  • All SaaS Customers and Self-Hosted Users

  • Error Monitoring

  • Filtering

Resolution

While we may not have a standalone option that would allow you to capture only manual errors, it is still achievable. You would have to pick a unique piece of data for your manual events, like tags, and then use beforeSend to drop all other events that don't have this tag.

Did this answer your question?