-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
Bug when reporting ecto errors #29
Comments
Thanks for the bug report! I will try to reproduce and figure out what we can do about that. If you're able to clarify any more details about how to reproduce the problem, that would be helpful. I'm guessing that you're using From what I can tell, Spandex is expecting an error type, but it's getting a Struct from your application ( |
Hey, for sure, these are the versions:
Not doing anything custom, bare minimum implementation per the docs. |
Great, thanks! I'll see if I can guess what's causing it and what we can do about it. |
We just hit the same bug as well. It looks like some errors are not Exception structs, but rather just :atoms |
|
Probably just need to add a clause to spandex_datadog/lib/spandex_datadog/api_server.ex Lines 271 to 273 in 3ad01ea
|
Instead of getting an Elixir struct as an Exception, it got a tuple:
|
I am also seeing api_server crash when trying to report errors due to getting a
|
Any luck with this or how to handle it? I'm seeing this as well. |
Here's a trace:
We receieve this error every time an exception happens. seems like Spandex tries to encode the ecto entity and fails
The text was updated successfully, but these errors were encountered: