Skip to content

Commit

Permalink
Handle message too big error when sending model data to engine
Browse files Browse the repository at this point in the history
CURA-11103
  • Loading branch information
wawanbreton committed Sep 24, 2024
1 parent ddd53ff commit b49a101
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 b49a101

Please sign in to comment.