mirror of https://github.com/Desuuuu/klipper.git
gcode: Report state message after any error in a STATUS response
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
55eed2e9be
commit
21597f9b07
|
@ -695,7 +695,7 @@ class GCodeParser:
|
|||
self._respond_state("Ready")
|
||||
return
|
||||
msg = self.printer.get_state_message()
|
||||
self._respond_state("Not ready")
|
||||
msg = msg.rstrip() + "\nKlipper state: Not ready"
|
||||
self.respond_error(msg)
|
||||
cmd_HELP_when_not_ready = True
|
||||
def cmd_HELP(self, params):
|
||||
|
|
Loading…
Reference in New Issue