Skip to content

Commit

Permalink
correcting logging method (error() -> exception()
Browse files Browse the repository at this point in the history
  • Loading branch information
PhillipsOwen committed Jan 12, 2024
1 parent f04aa2f commit 67cc01a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/pg_utils_multi.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def get_db_connection(self, db_info: namedtuple) -> bool:
break

except Exception:
self.logger.error('Error getting connection %s.', db_info.name)
self.logger.exception('Error getting connection %s.', db_info.name)
good_conn = False

# are we still looking for a connection
Expand Down

0 comments on commit 67cc01a

Please sign in to comment.