mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 01:49:03 +08: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
@ -163,6 +163,7 @@ class CuraEngineBackend(Backend):
|
||||
self._process = None
|
||||
except: # terminating a process that is already terminating causes an exception, silently ignore this.
|
||||
pass
|
||||
Logger.log("d", "Engine process is killed")
|
||||
|
||||
def _onStartSliceCompleted(self, job):
|
||||
if job.getError() or job.getResult() != True:
|
||||
|
@ -105,7 +105,7 @@ class StartSliceJob(Job):
|
||||
|
||||
Logger.log("d", "Sending data to engine for slicing.")
|
||||
self._socket.sendMessage(slice_message)
|
||||
|
||||
Logger.log("d", "Sending data to engine is completed")
|
||||
self.setResult(True)
|
||||
|
||||
def _expandGcodeTokens(self, key, value, settings):
|
||||
|
Loading…
x
Reference in New Issue
Block a user