diff --git a/api/chalicelib/utils/pg_client.py b/api/chalicelib/utils/pg_client.py index ba72868d6..c54e514ec 100644 --- a/api/chalicelib/utils/pg_client.py +++ b/api/chalicelib/utils/pg_client.py @@ -51,7 +51,7 @@ class PostgresClient: try: self.connection.commit() self.cursor.close() - except: + except Exception as error: print("Error while committing/closing PG-connection", error) raise error finally: