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

Unified Diff: tools/perf/measurements/screenshot.py

Issue 755323012: [Telemetry] Stop execution for unexpected exceptions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Really fix screenshot exception. Created 6 years 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/perf/measurements/screenshot.py
diff --git a/tools/perf/measurements/screenshot.py b/tools/perf/measurements/screenshot.py
index 5c4345a5a4ca397ed6c1f6b6d239f2da303d9081..49309b374e1390d1a1f701a7dabedabb88e4c642 100644
--- a/tools/perf/measurements/screenshot.py
+++ b/tools/perf/measurements/screenshot.py
@@ -17,7 +17,7 @@ class Screenshot(page_test.PageTest):
def ValidateAndMeasurePage(self, page, tab, results):
if not tab.screenshot_supported:
- raise page_test.TestNotSupportedOnPlatformFailure(
+ raise page_test.TestNotSupportedOnPlatformError(
'Browser does not support screenshotting')
tab.WaitForDocumentReadyStateToBeComplete()
« no previous file with comments | « tools/perf/measurements/rasterize_and_record_micro_unittest.py ('k') | tools/perf/measurements/screenshot_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698