klippy: Add a newline between initial error message and hint text
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
bc29ee1c6d
commit
acdad76408
|
@ -162,11 +162,11 @@ class Printer:
|
||||||
cb()
|
cb()
|
||||||
except (self.config_error, pins.error) as e:
|
except (self.config_error, pins.error) as e:
|
||||||
logging.exception("Config error")
|
logging.exception("Config error")
|
||||||
self._set_state("%s%s" % (str(e), message_restart))
|
self._set_state("%s\n%s" % (str(e), message_restart))
|
||||||
return
|
return
|
||||||
except msgproto.error as e:
|
except msgproto.error as e:
|
||||||
logging.exception("Protocol error")
|
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(),
|
self._get_versions(),
|
||||||
message_protocol_error2))
|
message_protocol_error2))
|
||||||
util.dump_mcu_build()
|
util.dump_mcu_build()
|
||||||
|
|
Loading…
Reference in New Issue