Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enrich exception based logs #51

Conversation

ondrejfuhrer
Copy link

Description

We noticed some log events in our system with null message. That seems to be coming from this SDK, there I noticed that you're simply logging the localized message. However since the message itself is a nullable property, and some exceptions might not provide it, would be great if we can enrich the logs with the exception itself to get a bit more clarity on what actually happened.

Happy to get any feedback on this.

Actions taken

  • passing exception object into logging pipeline instead of relying only on message / localized message being there

Note

Please note that this was simply a search & replace for places where there is a direct use of localized message in a log statement.

- passing exception object into logging pipeline instead of relying only on message / localized message being there
@ondrejfuhrer ondrejfuhrer requested a review from a team as a code owner March 23, 2022 17:00
@ondrejfuhrer ondrejfuhrer requested a review from a team March 23, 2022 17:00
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.

2 participants