-
Notifications
You must be signed in to change notification settings - Fork 35
Add clear error for constraint KeyError #1529
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
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1529 +/- ##
==========================================
+ Coverage 92.38% 93.20% +0.82%
==========================================
Files 172 172
Lines 14482 14482
==========================================
+ Hits 13379 13498 +119
+ Misses 1103 984 -119
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
IAlibay
left a comment
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.
This fix looks good to me, but we'll need a test case 😅
Yes I know this code is wildly untested, so I might be being unfair. However, something something the best time to test was yesterday, the second best time is today.
IAlibay
left a comment
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.
lgtm, could you add a news item @jthorton ?
|
No API break detected ✅ |
This partially addresses #1093 by adding an informative error.
It is possible we may want to try and handle this case gracefully in the future, however we need to collect at least the other known failure mode before we can implement a fix, so this is a stopgap.
Checklist
newsentryDevelopers certificate of origin