Browse Source

Silenced exception for dispose_engine

ogert 5 years ago
parent
commit
97b2113a29
1 changed files with 1 additions and 0 deletions
  1. 1 0
      cdplib/db_handlers/SQLHandler.py

+ 1 - 0
cdplib/db_handlers/SQLHandler.py

@@ -642,6 +642,7 @@ class SQLHandler:
         try:
             self._engine.dispose()
         except Exception as e:
+            pass
             #print(('An error occured when trying to dispose the SQL engine. Error: {}').format(e))
             #raise Exception(e)
             # Exception occures rather frequently, but doesnt seem to affect the execution of the script