mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 12:35:58 +00:00
Bug 785238 - Should catch AgentError inside devicemanagerSUT's getInfo. r=wlach
This commit is contained in:
parent
6561d9d600
commit
9f2c0054eb
@ -934,7 +934,11 @@ class DeviceManagerSUT(DeviceManager):
|
||||
directives = [directive]
|
||||
|
||||
for d in directives:
|
||||
data = self.runCmds([{ 'cmd': 'info ' + d }])
|
||||
try:
|
||||
data = self.runCmds([{ 'cmd': 'info ' + d }])
|
||||
except AgentError:
|
||||
return result
|
||||
|
||||
if (data is None):
|
||||
continue
|
||||
data = collapseSpaces.sub(' ', data)
|
||||
|
Loading…
x
Reference in New Issue
Block a user