Skip to main content

How to change an Issue's title?

Updated over a month ago

Issue

I find that the issue title is often not descriptive enough. Can I display my text instead?

Applies To

  • All SaaS Customers and Self-Hosted Users

  • Error Monitoring

Resolution

Yes, there are a couple of ways to change the issue title:

  • On the SDK side
    ​

    • Use beforeSend: This is the last thing the event passes by before being sent to Sentry. Here, you can change anything about the event, including its title - usually along the lines of event.exception.values[0].type or the equivalent for the SDK of your choice

    • Throw your exceptions manually: You can use Sentry.captureException("My custom title"); or the equivalent for the SDK of your choice

  • On the Sentry Web UI

    • Fingerprint rules: These are usually used to modify the grouping behavior of issues, but you can also use them to change an event's title. Please find how this can be done here.

Did this answer your question?