mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-14 11:33:12 +08:00
Don't spam logs
With failed serial stacktraces
This commit is contained in:
parent
be1c218d88
commit
e7b5ec1c5b
@ -53,7 +53,7 @@ class AutoDetectBaudJob(Job):
|
||||
try:
|
||||
serial = Serial(str(self._serial_port), baud_rate, timeout = read_timeout, writeTimeout = write_timeout)
|
||||
except SerialException:
|
||||
Logger.logException("w", "Unable to create serial")
|
||||
Logger.warning(f"Unable to create serial connection to {serial} with baud rate {baud_rate}")
|
||||
continue
|
||||
else:
|
||||
# We already have a serial connection, just change the baud rate.
|
||||
|
Loading…
x
Reference in New Issue
Block a user