mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Revert "Also show error message if connection got reset without error code"
This reverts commit 40fe8b577d
.
This commit is contained in:
parent
cc82ff97a7
commit
503293fbeb
1 changed files with 1 additions and 6 deletions
|
@ -610,15 +610,10 @@ class CuraEngineBackend(QObject, Backend):
|
|||
|
||||
if error.getErrorCode() not in [Arcus.ErrorCode.BindFailedError, Arcus.ErrorCode.ConnectionResetError, Arcus.ErrorCode.Debug]:
|
||||
Logger.log("w", "A socket error caused the connection to be reset")
|
||||
elif error.getErrorCode() == Arcus.ErrorCode.ConnectionResetError:
|
||||
Logger.error("CuraEngine crashed abnormally! The socket connection was reset unexpectedly.")
|
||||
self._slicing_error_message.show()
|
||||
self.setState(BackendState.Error)
|
||||
self.stopSlicing()
|
||||
|
||||
# _terminate()' function sets the job status to 'cancel', after reconnecting to another Port the job status
|
||||
# needs to be updated. Otherwise backendState is "Unable To Slice"
|
||||
elif error.getErrorCode() == Arcus.ErrorCode.BindFailedError and self._start_slice_job is not None:
|
||||
if error.getErrorCode() == Arcus.ErrorCode.BindFailedError and self._start_slice_job is not None:
|
||||
self._start_slice_job.setIsCancelled(False)
|
||||
|
||||
# Check if there's any slicable object in the scene.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue