Properly ignore Arcus debug messages

This commit is contained in:
Arjen Hiemstra 2016-07-27 18:02:50 +02:00
parent 823ab61cc5
commit 7971ffdc08

View file

@ -252,6 +252,9 @@ class CuraEngineBackend(Backend):
return
super()._onSocketError(error)
if error.getErrorCode() == Arcus.ErrorCode.Debug:
return
self._terminate()
if error.getErrorCode() not in [Arcus.ErrorCode.BindFailedError, Arcus.ErrorCode.ConnectionResetError, Arcus.ErrorCode.Debug]: