浏览代码

Changed exception handling when disposing engine

ogert 4 年之前
父节点
当前提交
b56f11c1b5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cdplib/db_handlers/SQLHandler.py

+ 1 - 1
cdplib/db_handlers/SQLHandler.py

@@ -639,5 +639,5 @@ class SQLHandler:
         try:
             self._engine.dispose()
         except Exception as e:
-            self._log.error(('An error occured when trying to dispose the SQL engine. Error: {}').format(e))
+            print(('An error occured when trying to dispose the SQL engine. Error: {}').format(e))
             raise Exception(e)