Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Catch sqlite3.ProgrammingError along peewees OperationalError #4438

Merged
merged 1 commit into from
Jul 10, 2019

Conversation

jiivan
Copy link
Contributor

@jiivan jiivan commented Jul 8, 2019

Some sqlite3 errors seem to slip through peewee.

fixes: #4380

@jiivan jiivan requested a review from mfranciszkiewicz July 8, 2019 14:01
@codecov
Copy link

codecov bot commented Jul 8, 2019

Codecov Report

Merging #4438 into develop will increase coverage by <.01%.
The diff coverage is 66.66%.

@@             Coverage Diff             @@
##           develop    #4438      +/-   ##
===========================================
+ Coverage    88.45%   88.45%   +<.01%     
===========================================
  Files          224      224              
  Lines        19913    19914       +1     
===========================================
+ Hits         17614    17615       +1     
  Misses        2299     2299

@jiivan jiivan merged commit 9eb644c into develop Jul 10, 2019
@jiivan jiivan deleted the error_slipped branch July 10, 2019 07:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sqlite3.ProgrammingError: Cannot operate on a closed database
2 participants