-
Notifications
You must be signed in to change notification settings - Fork 98
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
Error parsing error info in logger translator #430
Comments
This causes our translator to be removed and we miss errors. @tmaszk Do you happen to have any ideas why the |
This code looks like it takes https://github.com/elixir-lang/elixir/blob/v1.15.7/lib/logger/lib/logger/translator.ex#L35 |
I've tried to trigger the translator using |
Okay, in essence, we are getting a message through that does not include |
Going to fork it and update our app to add more logging on this. See what we get on startup. |
Looks like a bunch of kafka messages from erlkaf (an erlang lib). Going to check if it is a |
Okay, so these are only of |
I get a very similar exception when I enable tracing on a function using |
Describe the bug
Seem to be having an error on startup in our service where
parse_error_info(nil)
is being called. If we trace this up the stack we get to some newly changed code around error reporting in the logger translator.Environment
This line seems different than the docs suggest: https://github.com/newrelic/elixir_agent/pull/421/files#diff-810b4a095e0cf9779a97430561fa26fb924a45377bb2f61394bc4849a14f45a7R22
Docs: https://hexdocs.pm/logger/1.15.7/Logger.Translator.html#c:translate/4
The text was updated successfully, but these errors were encountered: