Closed Bug 785238 Opened 12 years ago Closed 12 years ago

Should catch AgentError inside devicemanagerSUT's getInfo

Categories

(Testing :: Mozbase, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla17

People

(Reporter: wlach, Assigned: jmaher)

Details

Attachments

(1 file)

As seen here:

http://hg.mozilla.org/mozilla-central/file/3c39442f9f19/build/mobile/devicemanagerSUT.py#l937

getInfo runs runCmd, which can raise AgentError. We should catch this exception and return None in this case.
CCing relevant people
Assignee: nobody → jmaher
Status: NEW → ASSIGNED
Attachment #654998 - Flags: review?(wlachance)
Comment on attachment 654998 [details] [diff] [review]
catch agent error in getinfo (1.0)

LGTM
Attachment #654998 - Flags: review?(wlachance) → review+
https://hg.mozilla.org/mozilla-central/rev/b229d9eaa843
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: