From 0923ef97a69a519deab7860e250ec70f989f85aa Mon Sep 17 00:00:00 2001 From: "hg42@gmx.net" Date: Sun, 5 Jan 2014 17:02:36 +0100 Subject: [PATCH] increase getShortErrorString to 30 characters for more meaningful logs --HG-- extra : source : 40022ac1f4b7bd8394b5dc74036b2ba2355ef45d --- Cura/util/machineCom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cura/util/machineCom.py b/Cura/util/machineCom.py index 8e14aac3..73c36685 100644 --- a/Cura/util/machineCom.py +++ b/Cura/util/machineCom.py @@ -231,9 +231,9 @@ class MachineCom(object): return "?%d?" % (self._state) def getShortErrorString(self): - if len(self._errorValue) < 20: + if len(self._errorValue) < 30: return self._errorValue - return self._errorValue[:20] + "..." + return self._errorValue[:30] + "..." def getErrorString(self): return self._errorValue -- 2.30.2