Skip to content

Commit

Permalink
PgSQL.OperationalError
Browse files Browse the repository at this point in the history
  • Loading branch information
zaihuaji committed Jan 8, 2025
1 parent 077ed77 commit a9f3fc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rda_python_common/PgDBI.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def starttran():
else:
try:
pgdb.isolation_level
except OperationalError as e:
except PgSQL.OperationalError as e:
pgconnect(0, 0, False)
if pgdb.closed:
pgconnect(0, 0, False)
Expand Down

0 comments on commit a9f3fc5

Please sign in to comment.