getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
38.4k stars 4.11k forks source link

Slack Notification - Issue Error Message Customization #68726

Open rayanami opened 4 months ago

rayanami commented 4 months ago

Problem Statement

This request is for the Slack <> Sentry Slack Notification. I'm using the Sentry UE5 plugin to submit Sentry events.

image

As a user, I'd like to be able to customize the issue error message that appears in the code block in the Slack notification. By default, the message is always set to something similar to Fatal Error: unknown 0x000bdb30 / 0x7ffe3bae5b0c

I'd like to overwrite that fatal error message with text that's more user friendly. I do know the 'notes' field exists, however that field is not formatted as a code block so it's harder for users to read at a glance.

Solution Brainstorm

No response

Product Area

Issues

getsantry[bot] commented 4 months ago

Assigning to @getsentry/support for routing ⏲️

getsantry[bot] commented 4 months ago

Routing to @getsentry/product-owners-settings-integrations for triage ⏲️

Dhrumil-Sentry commented 4 months ago

Thanks for this feedback, We're adding this to our backlog

bml1g12 commented 3 months ago

+1

e.g.

try:
    1/0
except ZeroDivisionError:
    LOGGER.exception("Custom message")

image

Should ideally display 'Custom message' in slack, but currently does not.