🐛 Fix bug in port detection

Closes #3108
This commit is contained in:
Gina Häußge committed 2019-04-05 15:19:58 +02:00
1 parent 65fe048ade
commit 8da5bb2d42
1 file changed
+1 -1
+1 -1
View File
@@ -2553,7 +2553,7 @@ class MachineCom(object):
self._log("Trying {}".format(p))
programmer.connect(p)
serial_obj = programmer.leaveISP()
except:
except Exception as e:
self._log("Could not connect to or enter programming mode on {}, might not be a printer or just not allow programming mode".format(p))
self._logger.info("Could not enter programming mode on {}: {}".format(p, e))