voiio / Sam

Sam – cuz your company is nothing without Sam
https://code.voiio.de/Sam/
BSD 3-Clause "New" or "Revised" License
8 stars 1 forks source link

Fix #94 -- Catch database errors more broadly #97

Closed herrbenesch closed 4 months ago

herrbenesch commented 4 months ago

psycopg.DatabaseError is a common base for all errors that are directly related to the database.

How to test

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.83%. Comparing base (5474974) to head (b982173).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #97 +/- ## ======================================= Coverage 95.83% 95.83% ======================================= Files 19 19 Lines 600 600 ======================================= Hits 575 575 Misses 25 25 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

herrbenesch commented 4 months ago

thanks @amureki