зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
e7d0887529
Коммит
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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче