Index: devil/devil/android/tools/provision_devices.py |
diff --git a/devil/devil/android/tools/provision_devices.py b/devil/devil/android/tools/provision_devices.py |
index 0f49878e3f722899761abad03b9be554f946059e..13f91651b747624fb1c3ee285ddb21d54648cd1c 100755 |
--- a/devil/devil/android/tools/provision_devices.py |
+++ b/devil/devil/android/tools/provision_devices.py |
@@ -170,7 +170,8 @@ def ProvisionDevice(device, steps, blacklist, reboot_timeout=None): |
if blacklist: |
blacklist.Extend([str(device)], reason='provision_timeout') |
- except device_errors.CommandFailedError: |
+ except (device_errors.CommandFailedError, |
+ device_errors.DeviceUnreachableError): |
logger.exception('Failed to provision device %s. Adding to blacklist.', |
str(device)) |
if blacklist: |