From b49a101e8900f124372c4e10b2045b19748b92e2 Mon Sep 17 00:00:00 2001 From: Erwan MATHIEU Date: Tue, 24 Sep 2024 08:55:29 +0200 Subject: [PATCH] Handle message too big error when sending model data to engine CURA-11103 --- UM/Backend/Backend.py | 3 +++ conandata.yml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/UM/Backend/Backend.py b/UM/Backend/Backend.py index fb878233b..ecc4369c8 100644 --- a/UM/Backend/Backend.py +++ b/UM/Backend/Backend.py @@ -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())) diff --git a/conandata.yml b/conandata.yml index fac99bba9..8f498eb8a 100644 --- a/conandata.yml +++ b/conandata.yml @@ -1,3 +1,3 @@ version: "5.9.0-alpha.0" requirements: - - "pyarcus/5.3.1" + - "pyarcus/5.4.1"