diff --git a/src/common/pg_utils_multi.py b/src/common/pg_utils_multi.py index 9e43856..5f5bd5a 100644 --- a/src/common/pg_utils_multi.py +++ b/src/common/pg_utils_multi.py @@ -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