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:
Kevin O'Connor 2018-10-13 17:20:21 -04:00
parent 55eed2e9be
commit 21597f9b07
1 changed files with 1 additions and 1 deletions

View File

@ -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):