Error string:Regular expression updates (#23426)
This commit is contained in:
parent
e7bb508ad6
commit
c86feeaed9
1 changed files with 3 additions and 1 deletions
|
@ -36,11 +36,13 @@ class TerminalModule(TerminalBase):
|
||||||
]
|
]
|
||||||
|
|
||||||
terminal_stderr_re = [
|
terminal_stderr_re = [
|
||||||
re.compile(r"% ?Error: (?:(?!\bdoes not exist\b)(?!\balready exists\b)(?!\bHost not found\b)(?!\bnot active\b).)*$"),
|
re.compile(r"% ?Error"),
|
||||||
re.compile(r"% ?Bad secret"),
|
re.compile(r"% ?Bad secret"),
|
||||||
|
re.compile(r"Syntax error:"),
|
||||||
re.compile(r"invalid input", re.I),
|
re.compile(r"invalid input", re.I),
|
||||||
re.compile(r"(?:incomplete|ambiguous) command", re.I),
|
re.compile(r"(?:incomplete|ambiguous) command", re.I),
|
||||||
re.compile(r"connection timed out", re.I),
|
re.compile(r"connection timed out", re.I),
|
||||||
|
re.compile(r"[^\r\n]+ not found", re.I),
|
||||||
re.compile(r"'[^']' +returned error code: ?\d+"),
|
re.compile(r"'[^']' +returned error code: ?\d+"),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue