From 3ecd746f21cf340956180897ce08d5edcf1e965d Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Mon, 21 Mar 2016 15:36:07 +0100 Subject: [PATCH] Added even more logging CURA-1133 --- plugins/CuraEngineBackend/CuraEngineBackend.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/CuraEngineBackend/CuraEngineBackend.py b/plugins/CuraEngineBackend/CuraEngineBackend.py index ed73f0ad93..b3ea28e62f 100644 --- a/plugins/CuraEngineBackend/CuraEngineBackend.py +++ b/plugins/CuraEngineBackend/CuraEngineBackend.py @@ -162,8 +162,8 @@ class CuraEngineBackend(Backend): try: self._process.terminate() self._process = None - except: # terminating a process that is already terminating causes an exception, silently ignore this. - pass + except Exception as e: # terminating a process that is already terminating causes an exception, silently ignore this. + Logger.log("d", "Exception occured while trying to kill the engine %s", str(e)) Logger.log("d", "Engine process is killed") def _onStartSliceCompleted(self, job):