Add some more strings to the known error classes
"Missing linenumber" is apparently also an option we want to recognize as non critical error, and while we are at it let's make sure we also capture "linenumber" without a space for resend request communication errors, just in case firmware devs add some variance here.
This commit is contained in:
1 parent
2fe177ffb8
commit
a3b3fbe269
1 file changed
+4
-1
@@ -2370,9 +2370,12 @@ class MachineCom(object):
|
||||
|
||||
return False
|
||||
|
||||
_recoverable_communication_errors = ("no line number with checksum",)
|
||||
_recoverable_communication_errors = ("no line number with checksum",
|
||||
"missing linenumber")
|
||||
_resend_request_communication_errors = ("line number", # since this error class get's checked after recoverable
|
||||
# communication errors, we can use this broad term here
|
||||
"linenumber", # since this error class get's checked after recoverable
|
||||
# communication errors, we can use this broad term here
|
||||
"checksum", # since this error class get's checked after recoverable
|
||||
# communication errors, we can use this broad term here
|
||||
"format error",
|
||||
|
||||
Reference in new issue
Block a user