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

Unified Diff: tools/telemetry/telemetry/core/backends/chrome/misc_web_contents_backend.py

Issue 969503002: Telemetry: Catch exceptions.Error instead of AppCrashException. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@telemetry_make_new_exceptions4
Patch Set: Created 5 years, 10 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/backends/chrome/misc_web_contents_backend.py
diff --git a/tools/telemetry/telemetry/core/backends/chrome/misc_web_contents_backend.py b/tools/telemetry/telemetry/core/backends/chrome/misc_web_contents_backend.py
index 480d09590798d6d63ae855e821e822944d90641f..130cfc7cb6139aa89941c8df5677917d69b6c16f 100644
--- a/tools/telemetry/telemetry/core/backends/chrome/misc_web_contents_backend.py
+++ b/tools/telemetry/telemetry/core/backends/chrome/misc_web_contents_backend.py
@@ -22,7 +22,7 @@ class MiscWebContentsBackend(inspector_backend_list.InspectorBackendList):
"""Lightweight property to determine if the oobe webui is visible."""
try:
return bool(len(self))
- except (exceptions.AppCrashException,
+ except (exceptions.Error,
devtools_http.DevToolsClientConnectionError):
return False

Powered by Google App Engine
This is Rietveld 408576698