-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed handling of
DuplicateKeyException
errors after crate-python 0.34
After an improvement in crate-python 0.34, this error case is conveyed through `IntegrityError`. Beforehand, a more generic `ProgrammingError` was used. Without the update, a duplicate key exception causes crash to exit prematurely and unexpectedly, when using more recent versions of crate-python. Now, both exception types will be handled in the same way.
- Loading branch information
Showing
2 changed files
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters