fail module when config is invalid and jsonrpc doesn't return error (#36482) (#36488)

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
(cherry picked from commit d5858bbcbe)
pull/36510/head
Trishna Guha 7 years ago committed by GitHub
parent 6eb248a327
commit 28fb690cc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -43,7 +43,8 @@ class TerminalModule(TerminalBase):
re.compile(br"'[^']' +returned error code: ?\d+"),
re.compile(br"syntax error"),
re.compile(br"unknown command"),
re.compile(br"user not present")
re.compile(br"user not present"),
re.compile(br"invalid (.+?)at '\^' marker", re.I)
]
def on_open_shell(self):

Loading…
Cancel
Save