Index: build/android/provision_devices.py |
diff --git a/build/android/provision_devices.py b/build/android/provision_devices.py |
index 1e8ed92b305bd8f50db74320bd42fa590f6c2d4e..ecf22c9a563a1356e993840e2ede8be3b3b40e94 100755 |
--- a/build/android/provision_devices.py |
+++ b/build/android/provision_devices.py |
@@ -137,7 +137,8 @@ def ProvisionDevice(device, blacklist, options): |
if blacklist: |
blacklist.Extend([str(device)], reason='provision_timeout') |
- except device_errors.CommandFailedError: |
+ except (device_errors.CommandFailedError, |
+ device_errors.DeviceUnreachableError): |
logging.exception('Failed to provision device %s. Adding to blacklist.', |
str(device)) |
if blacklist: |