You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The integrity error is intentional, in that we should be preventing duplicate records from being inserted into this table, but we should be able to handle the error and return a 400.
Background
The new index added in #268 is causing
IntegrityError
s to be raised in thePUT /package
endpoint.Example error:
What to do
The integrity error is intentional, in that we should be preventing duplicate records from being inserted into this table, but we should be able to handle the error and return a 400.
The error is being raised from this block:
dragonfly-mainframe/src/mainframe/endpoints/package.py
Lines 66 to 88 in fd0dd37
Suggestions
The text was updated successfully, but these errors were encountered: