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

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
pull/4420/head
Trishna Guha 2018-02-21 12:36:10 +05:30 committed by GitHub
parent abb956d9eb
commit d5858bbcbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -43,7 +43,8 @@ class TerminalModule(TerminalBase):
re.compile(br"'[^']' +returned error code: ?\d+"), re.compile(br"'[^']' +returned error code: ?\d+"),
re.compile(br"syntax error"), re.compile(br"syntax error"),
re.compile(br"unknown command"), 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): def on_open_shell(self):