From acdad7640809fbfdfae45394f0301f08ceab3115 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Thu, 10 Jun 2021 21:30:09 -0400 Subject: [PATCH] klippy: Add a newline between initial error message and hint text Signed-off-by: Kevin O'Connor --- klippy/klippy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/klippy/klippy.py b/klippy/klippy.py index 5914c1ca..df8e110c 100644 --- a/klippy/klippy.py +++ b/klippy/klippy.py @@ -162,11 +162,11 @@ class Printer: cb() except (self.config_error, pins.error) as e: logging.exception("Config error") - self._set_state("%s%s" % (str(e), message_restart)) + self._set_state("%s\n%s" % (str(e), message_restart)) return except msgproto.error as e: logging.exception("Protocol error") - self._set_state("%s%s%s%s" % (str(e), message_protocol_error1, + self._set_state("%s\n%s%s%s" % (str(e), message_protocol_error1, self._get_versions(), message_protocol_error2)) util.dump_mcu_build()