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

Unified Diff: tools/telemetry/telemetry/util/exception_formatter.py

Issue 205243003: [telemetry] Consolidate global hooks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments Created 6 years, 9 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 | « tools/telemetry/telemetry/test_runner.py ('k') | tools/telemetry/telemetry/util/global_hooks.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/util/exception_formatter.py
diff --git a/tools/telemetry/telemetry/exception_formatter.py b/tools/telemetry/telemetry/util/exception_formatter.py
similarity index 97%
rename from tools/telemetry/telemetry/exception_formatter.py
rename to tools/telemetry/telemetry/util/exception_formatter.py
index 8dafd44c2dae41923e6e446c2d92572b1b338323..4d4254ca8107b4972c0e7388d4a0b3e2898d9bfd 100644
--- a/tools/telemetry/telemetry/exception_formatter.py
+++ b/tools/telemetry/telemetry/util/exception_formatter.py
@@ -12,10 +12,6 @@ import traceback
from telemetry.core import util
-def InstallUnhandledExceptionFormatter():
- sys.excepthook = PrintFormattedException
-
-
def PrintFormattedException(exception_class, exception, tb):
"""Prints an Exception in a more useful format than the default.
« no previous file with comments | « tools/telemetry/telemetry/test_runner.py ('k') | tools/telemetry/telemetry/util/global_hooks.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698