-
Couldn't load subscription status.
- Fork 79
Closed
Description
Ported from Qiita-pet.
squirrelo commented 23 days ago
if try-except fails on pgcursor creation, the pgcursor.close() will also fail. This needs to be broken out into its own try-except.
wasade commented 22 days ago
Agree. This behavior should be centralized though a common general mechanism otherwise the code will be full of difficult to read replication with try/excepts. This has a further benefit in that it tightens and isolates where database interaction is actually performed.
Metadata
Metadata
Assignees
Labels
No labels