mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 22:04:36 +00:00
Bug 874729 - Part 1: Swallow IOErrors when pulling ANR traces. r=jmaher
On my local testing devices, |adb pull| complains about not being able to read /data/anr/traces.txt but the command succeeds. The subsequent local file read produces an IOError. This ignores that exception.
This commit is contained in:
parent
e7d0887529
commit
dd621202b1
@ -126,7 +126,8 @@ class RemoteAutomation(Automation):
|
||||
self.deleteANRs()
|
||||
except DMError:
|
||||
print "Error pulling %s" % traces
|
||||
pass
|
||||
except IOError:
|
||||
print "Error pulling %s" % traces
|
||||
else:
|
||||
print "%s not found" % traces
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user