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

Unified Diff: tools/telemetry/telemetry/core/backends/chrome/cros_unittest.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
« no previous file with comments | « no previous file | tools/telemetry/telemetry/core/backends/chrome/misc_web_contents_backend.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/core/backends/chrome/cros_unittest.py
diff --git a/tools/telemetry/telemetry/core/backends/chrome/cros_unittest.py b/tools/telemetry/telemetry/core/backends/chrome/cros_unittest.py
index aeda1d2594ef68ccff8ceb883fb857d4767c51ae..618086851695ae8bf7b3f34437e380f0dc22d679 100644
--- a/tools/telemetry/telemetry/core/backends/chrome/cros_unittest.py
+++ b/tools/telemetry/telemetry/core/backends/chrome/cros_unittest.py
@@ -62,7 +62,7 @@ class CrOSLoginTest(cros_test_case.CrOSTestCase):
extension.ExecuteJavaScript('chrome.autotestPrivate.logout();')
# TODO(chrishenry): crbug.com/450278. DevToolsClientConnectionError
# should probably be caught at a lower-level.
- except (exceptions.AppCrashException,
+ except (exceptions.Error,
devtools_http.DevToolsClientConnectionError):
achuithb 2015/03/04 00:31:15 DevToolsClientConnectionError does not inherit fro
erikchen 2015/03/04 01:14:16 Yes. I will do that in a followup CL.
pass
util.WaitFor(lambda: not self._IsCryptohomeMounted(), 20)
« no previous file with comments | « no previous file | tools/telemetry/telemetry/core/backends/chrome/misc_web_contents_backend.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698