Index: build/android/pylib/results/flakiness_dashboard/results_uploader.py |
diff --git a/build/android/pylib/results/flakiness_dashboard/results_uploader.py b/build/android/pylib/results/flakiness_dashboard/results_uploader.py |
index 965ddcf2a09aa74379bb5f3ec0d1afabf43a53ce..1360b80927d16288541cc98e659fbb6180251858 100644 |
--- a/build/android/pylib/results/flakiness_dashboard/results_uploader.py |
+++ b/build/android/pylib/results/flakiness_dashboard/results_uploader.py |
@@ -162,8 +162,8 @@ class ResultsUploader(object): |
results_generator.GenerateJSONOutput() |
results_generator.GenerateTimesMSFile() |
results_generator.UploadJSONFiles(json_files) |
- except Exception as e: |
- logging.error("Uploading results to test server failed: %s." % e) |
+ except Exception as e: # pylint: disable=broad-except |
+ logging.error("Uploading results to test server failed: %s.", e) |
finally: |
shutil.rmtree(tmp_folder) |