Skip to content

Conversation

@lmendes86
Copy link

We needed to add contextual information to sentry errors because the current solution only sends the error and leaves behind all the other attributes in the slog execution. We think it is a good idea to add all those extra attributes in the sentry error to have more context to know what happened on the application side.

I hope this helps!

rreuvekamp and others added 2 commits March 6, 2024 15:42
Currently the record.Message is lost, though in our case it often provides
useful context in our case
Prefix logged error with the record.Message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants