diff options
Diffstat (limited to 'qc_app')
-rw-r--r-- | qc_app/db_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qc_app/db_utils.py b/qc_app/db_utils.py index 7eca93a..a04c5e1 100644 --- a/qc_app/db_utils.py +++ b/qc_app/db_utils.py @@ -28,7 +28,7 @@ def database_connection(db_url: Optional[str] = None) -> Iterator[mdb.Connection yield connection connection.commit() except mdb.Error as _mdb_err: - logging.debug(traceback.format_exc()) + logging.error(traceback.format_exc()) connection.rollback() finally: connection.close() |