mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06:00
Added more logging to engine connection
Should make it easier to debug future issues. CURA-1133
This commit is contained in:
parent
5c6200a046
commit
b863d239b0
2 changed files with 2 additions and 1 deletions
|
@ -163,6 +163,7 @@ class CuraEngineBackend(Backend):
|
||||||
self._process = None
|
self._process = None
|
||||||
except: # terminating a process that is already terminating causes an exception, silently ignore this.
|
except: # terminating a process that is already terminating causes an exception, silently ignore this.
|
||||||
pass
|
pass
|
||||||
|
Logger.log("d", "Engine process is killed")
|
||||||
|
|
||||||
def _onStartSliceCompleted(self, job):
|
def _onStartSliceCompleted(self, job):
|
||||||
if job.getError() or job.getResult() != True:
|
if job.getError() or job.getResult() != True:
|
||||||
|
|
|
@ -105,7 +105,7 @@ class StartSliceJob(Job):
|
||||||
|
|
||||||
Logger.log("d", "Sending data to engine for slicing.")
|
Logger.log("d", "Sending data to engine for slicing.")
|
||||||
self._socket.sendMessage(slice_message)
|
self._socket.sendMessage(slice_message)
|
||||||
|
Logger.log("d", "Sending data to engine is completed")
|
||||||
self.setResult(True)
|
self.setResult(True)
|
||||||
|
|
||||||
def _expandGcodeTokens(self, key, value, settings):
|
def _expandGcodeTokens(self, key, value, settings):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue