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

Unified Diff: telemetry/telemetry/internal/actions/action_runner.py

Issue 2922593004: [telemetry] Provide some more specific exception classes (Closed)
Patch Set: Created 3 years, 7 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: telemetry/telemetry/internal/actions/action_runner.py
diff --git a/telemetry/telemetry/internal/actions/action_runner.py b/telemetry/telemetry/internal/actions/action_runner.py
index ec2a5eac8e28db8da31ed2c215a0baed16a7f38d..fbfc98a3a6aca0a1bedea05e715b3e045c1a14c4 100644
--- a/telemetry/telemetry/internal/actions/action_runner.py
+++ b/telemetry/telemetry/internal/actions/action_runner.py
@@ -157,7 +157,7 @@ class ActionRunner(object):
self.Wait(_DUMP_WAIT_TIME)
dump_id = self.tab.browser.DumpMemory()
if not dump_id:
- raise exceptions.Error('Unable to obtain memory dump')
+ raise exceptions.StoryActionError('Unable to obtain memory dump')
return dump_id
def Navigate(self, url, script_to_evaluate_on_commit=None,
« no previous file with comments | « telemetry/telemetry/core/exceptions.py ('k') | telemetry/telemetry/internal/platform/tracing_controller_backend.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698