From 27191f52020a74d48d2fe0fce683f932f5eb72f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 8 Jul 2020 14:15:09 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Don't=20trigger=20error=20handli?= =?UTF-8?q?ng=20on=20autodetect=20failure?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See #3627 --- src/octoprint/util/comm.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index 47456b331..c6e10daab 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -2875,8 +2875,7 @@ class MachineCom(object): eventManager().fire(Events.ERROR, {"error": self.getErrorString(), "reason": reason}) if close: if self._send_m112_on_error and not self.isSdPrinting() and reason not in ("connection", - "autodetect_baudrate", - "autodetect_port"): + "autodetect"): self._trigger_emergency_stop(close=False) self.close(is_error=True)