Index: tools/cygprofile/profile_android_startup.py |
diff --git a/tools/cygprofile/profile_android_startup.py b/tools/cygprofile/profile_android_startup.py |
index 96d1b4c63b2c5e0120937a7364ce0db5bef87c43..914f7d19e4b7f3c86e1bbf5046c15eceaae72f7c 100755 |
--- a/tools/cygprofile/profile_android_startup.py |
+++ b/tools/cygprofile/profile_android_startup.py |
@@ -230,7 +230,8 @@ class AndroidProfileTool(object): |
self._device.PushChangedFiles([(self._cygprofile_tests, device_path)]) |
try: |
self._device.RunShellCommand(device_path, check_return=True) |
- except device_errors.CommandFailedError: |
+ except (device_errors.CommandFailedError, |
+ device_errors.DeviceUnreachableError): |
# TODO(jbudorick): Let the exception propagate up once clients can |
# handle it. |
logging.exception('Failure while running cygprofile_unittests:') |