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

Nested Logger metadata is being dropped #836

Closed
ruslandoga opened this issue Dec 17, 2024 · 1 comment
Closed

Nested Logger metadata is being dropped #836

ruslandoga opened this issue Dec 17, 2024 · 1 comment

Comments

@ruslandoga
Copy link
Contributor

ruslandoga commented Dec 17, 2024

👋

Environment

What version are you running?

"10.2.0"

Steps to Reproduce

When using Logger.error, deeply nested :sentry metadata gets silently dropped.

For example, this event is stored without any additional information:

Logger.error("error from logs x1", sentry: %{extra: %{response: Bamboo.ApiError.build_api_error("response info")}})

But these two get stored with the expected additional information:

Logger.error("error from logs x2", sentry: %{extra: %{response: "response info"}})
Sentry.capture_message("error from logs x3", extra: %{response: Bamboo.ApiError.build_api_error("response info")})
@ruslandoga
Copy link
Contributor Author

ruslandoga commented Dec 17, 2024

I tried it out on Sentry 10.8.1 and it seems to be already fixed.

Sorry for a false alarm!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant