adds additional details in exception handling in shell shared module

pull/15268/head
Peter Sprygada 10 years ago
parent f5bcd38380
commit 17f4db19ea

@ -177,7 +177,7 @@ class Shell(object):
def read(self, response):
for regex in self.errors:
if regex.search(response):
raise ShellError('%s' % response)
raise ShellError('matched error in response: %s' % response)
for regex in self.prompts:
match = regex.search(response)

Loading…
Cancel
Save