#Controlling issue title

1 messages · Page 1 of 1 (latest)

abstract bane
#

How can we gain control over the issue title?

It always seems to be the function name where the captureMessage was called. It is not ideal to have this as the issue title.

Ideally, the issue title would be the message string below the title we use in captureMessage('The feature flag ${flag} is disabled');

This related issue seems to be the culprit, but is there any thing we can do in the meantime?

GitHub

Originally surfaced in RN SDK, but the issue is not SDK specific. See comment for examples and expected behavior. What React Native libraries do you use? React Native without Frameworks Are you usi...

pallid hound
#

hey there, in case you missed it, the team shared possible workarounds here:
https://github.com/getsentry/sentry/issues/86773#issuecomment-2713437832
Another option is to handle this on the server side using Fingerprint rules. These are typically used to control issue grouping, but they can also be used to customize an event's title:
https://docs.sentry.io/concepts/data-management/event-grouping/fingerprint-rules/#custom-titles

The article here has more info on this as well:
https://sentry.zendesk.com/hc/en-us/articles/28812955455515-How-to-change-an-Issue-s-title