mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Don't spam logs
With failed serial stacktraces
This commit is contained in:
parent
be1c218d88
commit
e7b5ec1c5b
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ class AutoDetectBaudJob(Job):
|
||||||
try:
|
try:
|
||||||
serial = Serial(str(self._serial_port), baud_rate, timeout = read_timeout, writeTimeout = write_timeout)
|
serial = Serial(str(self._serial_port), baud_rate, timeout = read_timeout, writeTimeout = write_timeout)
|
||||||
except SerialException:
|
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
|
continue
|
||||||
else:
|
else:
|
||||||
# We already have a serial connection, just change the baud rate.
|
# We already have a serial connection, just change the baud rate.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue