getsentry / sentry

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

Enable Slack Alerts to display Nested Exception instead of Topmost Exception #76581

Open kpujjigit opened 2 weeks ago

kpujjigit commented 2 weeks ago

Problem Statement

The top exception is the generic one, which is basically an error log message, and the bottom one is the actual underlying exception that caused this alert to be fired:

Image

But the Slack alert only contains the topmost exception:

Image

Solution Brainstorm

Is there any way to include all the nested exception names & messages in the Slack alert?

Those error logs might sometimes hide multiple different exception types under them and cause new issues to be missed, therefore mistaken for more occurrences of older errors.

Product Area

Settings - Integrations

getsantry[bot] commented 2 weeks ago

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

leedongwei commented 1 week ago

Is there any way to include all the nested exception names & messages in the Slack alert?

It's been challenging to find the balance of providing details without being overwhelming in a Slack message. I'll keep this open to see if folks want more details. I think the likely long-term outcome is a way for user to configure it but it is not high leverage work atm.