Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Unified Diff: tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py

Issue 1165463010: [Android] Log exceptions thrown by newly converted DeviceUtils calls in telemetry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py
diff --git a/tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py b/tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py
index e06ab32e1b9fc793433337a7ba5c9cb189e0722d..4608e36a2461d340335af823590f765dba33afe3 100644
--- a/tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py
+++ b/tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py
@@ -208,7 +208,11 @@ def CreateSymFs(device, symfs_dir, libraries, use_symlinks=True):
pull = True
else:
host_md5sums = md5sum.CalculateHostMd5Sums([output_lib])
- device_md5sums = md5sum.CalculateDeviceMd5Sums([lib], device)
+ try:
+ device_md5sums = md5sum.CalculateDeviceMd5Sums([lib], device)
+ except:
+ logging.exception('New exception caused by DeviceUtils conversion')
+ raise
pull = (not host_md5sums or not device_md5sums
or host_md5sums[0] != device_md5sums[0])

Powered by Google App Engine
This is Rietveld 408576698