diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index c8760e7d..1c0f49d9 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -1206,6 +1206,11 @@ class MachineCom(object): return None + def _gcode_M112(self, cmd): # It's an emergency what todo? Canceling the print should be the minimum + self.cancelPrint() + return cmd + + ### MachineCom callback ################################################################################################ class MachineComPrintCallback(object):