mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Added a bit of error handling
This commit is contained in:
parent
c0d167e751
commit
31ed8400ef
1 changed files with 6 additions and 0 deletions
|
@ -179,6 +179,12 @@ class CuraEngineBackend(Backend):
|
|||
|
||||
self._onChanged()
|
||||
|
||||
def _onSocketError(self, error):
|
||||
super()._onSocketError(error)
|
||||
self._slicing = False
|
||||
self.processingProgress.emit(0)
|
||||
Logger.log("e", "A socket error caused the connection to be reset")
|
||||
|
||||
def _onActiveProfileChanged(self):
|
||||
if self._profile:
|
||||
self._profile.settingValueChanged.disconnect(self._onSettingChanged)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue