Commit 81b026f3 authored by perezju's avatar perezju Committed by Commit bot

Log exception info when failing to provision a device

BUG=429248

Review URL: https://codereview.chromium.org/703643003

Cr-Commit-Position: refs/heads/master@{#302725}
parent 5d5675bf
...@@ -207,7 +207,7 @@ def ProvisionDevice(device, options, is_perf): ...@@ -207,7 +207,7 @@ def ProvisionDevice(device, options, is_perf):
# Device black list is reset by bb_device_status_check.py per build. # Device black list is reset by bb_device_status_check.py per build.
device_blacklist.ExtendBlacklist([str(device)]) device_blacklist.ExtendBlacklist([str(device)])
except (device_errors.CommandFailedError): except (device_errors.CommandFailedError):
logging.info('Failed to provision device %s. Adding to blacklist.', logging.exception('Failed to provision device %s. Adding to blacklist.',
str(device)) str(device))
device_blacklist.ExtendBlacklist([str(device)]) device_blacklist.ExtendBlacklist([str(device)])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment