|
@@ -636,4 +636,7 @@ class SQLHandler:
|
|
include_tables=include_tables)
|
|
include_tables=include_tables)
|
|
|
|
|
|
def dispose_engine(self):
|
|
def dispose_engine(self):
|
|
- self._engine.dispose()
|
|
|
|
|
|
+ try:
|
|
|
|
+ self._engine.dispose()
|
|
|
|
+ except Exception e:
|
|
|
|
+ self._log.log_and_raise_error(('An error occured when trying to dispose the SQL engine. Error: {}').format(e))
|