about summary refs log tree commit diff
path: root/gn3/db_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'gn3/db_utils.py')
-rw-r--r--gn3/db_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/db_utils.py b/gn3/db_utils.py
index 19537d4..0d9bd0a 100644
--- a/gn3/db_utils.py
+++ b/gn3/db_utils.py
@@ -39,7 +39,7 @@ def database_connection(sql_uri: str, logger: logging.Logger = LOGGER) -> Iterat
     try:
         yield connection
     except mdb.Error as _mbde:
-        logger.error("DB error encountered", exc_info=1)
+        logger.error("DB error encountered", exc_info=True)
         connection.rollback()
     finally:
         connection.commit()