-
-
Notifications
You must be signed in to change notification settings - Fork 191
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
Allow the usage of JSON for Elixir 1.18+ #845
base: master
Are you sure you want to change the base?
Conversation
LGTM, thanks for applying the changes! The CI is failing for Elixir 1.18+. Maybe |
assert error.__struct__ == JSON.DecodeError | ||
else | ||
assert error.__struct__ == Jason.DecodeError | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given that we're introducing a shim under Sentry.JSON
shouldn't we also raise Sentry.JSON.DecodeError
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're not introducing Sentry.JSON
for users, it's just for us during this transition time.
@altjohndev I couldn't force push to your branch, but this is your PR with some changes I made on top of it to remove the compile-time configuration and other small cleanups. Can you review this? 🙃