Skip to content

Commit

Permalink
making the errant closing of the DB connection a warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
PhillipsOwen committed Jun 14, 2023
1 parent d1d699b commit 7cfa8d2
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 @@ -99,7 +99,7 @@ def close_conn(self, db_name):
# close it
conn.close()
except Exception:
self.logger.error('Error detected closing the %s DB connection.', db_name)
self.logger.warning('Error detected closing the %s DB connection.', db_name)

@staticmethod
def get_conn_config(db_name: str) -> str:
Expand Down

0 comments on commit 7cfa8d2

Please sign in to comment.