Skip to content

Commit

Permalink
Merge pull request #968 from Ultimaker/CURA-11103_display-message-fil…
Browse files Browse the repository at this point in the history
…e-too-big

Handle message too big error when sending model data to engine
  • Loading branch information
HellAholic authored Sep 30, 2024
2 parents 7a944c8 + b49a101 commit da1c5e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions UM/Backend/Backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,9 @@ def _onSocketError(self, error: Arcus.ErrorCode) -> None:
elif error.getErrorCode() == Arcus.ErrorCode.Debug:
Logger.log("d", "Socket debug: %s", str(error))
return
elif error.getErrorCode() == Arcus.ErrorCode.MessageTooBigError:
Logger.log("w", "Message was too big to be sent", str(error))
return
else:
Logger.log("w", "Unhandled socket error %s", str(error.getErrorCode()))

Expand Down
2 changes: 1 addition & 1 deletion conandata.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version: "5.9.0-alpha.0"
requirements:
- "pyarcus/5.3.1"
- "pyarcus/5.4.1"

0 comments on commit da1c5e8

Please sign in to comment.