mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1156422 - Improve robustness of logcat collection in checkForCrashes; r=bc
This commit is contained in:
parent
acd8523151
commit
d864243fa2
@ -180,7 +180,13 @@ class RemoteAutomation(Automation):
|
||||
self.checkForANRs()
|
||||
self.checkForTombstones()
|
||||
|
||||
logcat = self._devicemanager.getLogcat(filterOutRegexps=fennecLogcatFilters)
|
||||
try:
|
||||
logcat = self._devicemanager.getLogcat(filterOutRegexps=fennecLogcatFilters)
|
||||
except DMError:
|
||||
print "getLogcat threw DMError; re-trying just once..."
|
||||
time.sleep(1)
|
||||
logcat = self._devicemanager.getLogcat(filterOutRegexps=fennecLogcatFilters)
|
||||
|
||||
javaException = mozcrash.check_for_java_exception(logcat)
|
||||
if javaException:
|
||||
return True
|
||||
|
Loading…
Reference in New Issue
Block a user