| Index: build/android/buildbot/bb_device_status_check.py
|
| diff --git a/build/android/buildbot/bb_device_status_check.py b/build/android/buildbot/bb_device_status_check.py
|
| index 3bec15829c8361b9e9e2dc3b12fef7aa77ef9a5a..8561c0104b4724168cc20eda531e95f7849a6edb 100755
|
| --- a/build/android/buildbot/bb_device_status_check.py
|
| +++ b/build/android/buildbot/bb_device_status_check.py
|
| @@ -340,9 +340,12 @@ def main():
|
| if os.path.exists('/home/chrome-bot'):
|
| with open('/home/chrome-bot/.adb_device_info', 'w') as f:
|
| for device in json_data:
|
| - f.write('%s %s %s %.1fC %s%%\n' % (device['serial'], device['type'],
|
| - device['build'], float(device['battery']['temperature']) / 10,
|
| - device['battery']['level']))
|
| + try:
|
| + f.write('%s %s %s %.1fC %s%%\n' % (device['serial'], device['type'],
|
| + device['build'], float(device['battery']['temperature']) / 10,
|
| + device['battery']['level']))
|
| + except Exception:
|
| + pass
|
|
|
| err_msg = CheckForMissingDevices(options, devices) or []
|
|
|
|
|