-
Notifications
You must be signed in to change notification settings - Fork 533
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
Custom settings for decimal context broke the app #4213
Comments
Hey @mikhaillazko thanks for reporting this! I will have a look |
I have a PR with a fix up @mikhaillazko. We will probably release this next week |
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How do you use Sentry?
Sentry Saas (sentry.io)
Version
2.24.0
Steps to Reproduce
Hi! I have an issue with decimal. I defined custom rules for decimal type like this:
and call this function before FastAPI initialization
An error occurs when i running the application and calling the API.
Thanks for great tool!
Expected Result
The application should not crash.
Actual Result
This is stack trace that i see
It looks like you need to define a local context for this operation using
decimal.localcontext
The text was updated successfully, but these errors were encountered: