Files
Quentin Gliech 27d4fdcfea Attach stack traces to errors reported to Sentry
Errors logged through `tracing` were reported without a stack trace, so Sentry grouped them by the error messages, splitting issues whenever a message contained an ID. With the `attach_stacktrace` option and the `backtrace` feature of `sentry-tracing`, an event with both a message and an error gets a synthetic exception carrying the stack trace of where it was logged. `record_error!` now logs the error as an `error` field with its message, so that it gets one too. Frames from MAS crates are marked as in-app.

Errors logged from a shared place, like the job runner, would then all be grouped together, so the fingerprint also includes the tag of the log context, e.g. the queue of the job, and the path of the GraphQL resolver the error comes from. Requests are left out, as their tag is the HTTP method.

This changes the grouping and the titles of most existing issues.
2026-10-30 10:10:32 +01:00
..