Pattern to catch string post to ERROR nxos terminal plugin (#37237)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>pull/4420/head
parent
1d975bdc93
commit
ed25b56772
|
@ -34,6 +34,7 @@ class TerminalModule(TerminalBase):
|
||||||
|
|
||||||
terminal_stderr_re = [
|
terminal_stderr_re = [
|
||||||
re.compile(br"% ?Error"),
|
re.compile(br"% ?Error"),
|
||||||
|
re.compile(br"^error:(.*)", re.I),
|
||||||
re.compile(br"^% \w+", re.M),
|
re.compile(br"^% \w+", re.M),
|
||||||
re.compile(br"% ?Bad secret"),
|
re.compile(br"% ?Bad secret"),
|
||||||
re.compile(br"invalid input", re.I),
|
re.compile(br"invalid input", re.I),
|
||||||
|
|
Loading…
Reference in New Issue