Index: build/android/pylib/monkey/test_runner.py |
diff --git a/build/android/pylib/monkey/test_runner.py b/build/android/pylib/monkey/test_runner.py |
index 1920464547fa4882869db0bfb03a053d76506133..76eb623bb4cc9fc52bcad6ed94495babdd8f9d21 100644 |
--- a/build/android/pylib/monkey/test_runner.py |
+++ b/build/android/pylib/monkey/test_runner.py |
@@ -87,7 +87,10 @@ class TestRunner(base_test_runner.BaseTestRunner): |
result = base_test_result.BaseTestResult( |
test_name, base_test_result.ResultType.FAIL, log=output) |
if 'chrome' in self._options.package: |
- logging.warning('Start MinidumpUploadService...') |
- self.adb.StartCrashUploadService(self._package) |
+ logging.warning('Starting MinidumpUploadService...') |
+ try: |
+ self.adb.StartCrashUploadService(self._package) |
+ except AssertionError as e: |
+ logging.error('Failed to start MinidumpUploadService: %s', e) |
results.AddResult(result) |
return results, False |