summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-22 23:31:44 +0000
committerbulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-22 23:31:44 +0000
commitbc09ed76b3264e2d5f54d888251516ee188b3622 (patch)
tree298f89a3add2ef935a99f65d6fd6eb26b1031317
parent95c41072f6c6ba4749d9d62cc79bc9fa0a13e59f (diff)
downloadchromium_src-bc09ed76b3264e2d5f54d888251516ee188b3622.zip
chromium_src-bc09ed76b3264e2d5f54d888251516ee188b3622.tar.gz
chromium_src-bc09ed76b3264e2d5f54d888251516ee188b3622.tar.bz2
Telemetry: expands exception messages.
On some crashes, Telemetry were hiding useful information about the underlying exception. Bubble it up. BUG=310163 Review URL: https://codereview.chromium.org/34733005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230254 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--tools/telemetry/telemetry/core/backends/chrome/chrome_browser_backend.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/telemetry/telemetry/core/backends/chrome/chrome_browser_backend.py b/tools/telemetry/telemetry/core/backends/chrome/chrome_browser_backend.py
index d76316e..f8f620b 100644
--- a/tools/telemetry/telemetry/core/backends/chrome/chrome_browser_backend.py
+++ b/tools/telemetry/telemetry/core/backends/chrome/chrome_browser_backend.py
@@ -218,8 +218,8 @@ class ChromeBrowserBackend(browser_backend.BrowserBackend):
if throw_network_exception:
raise e
if not self.IsBrowserRunning():
- raise exceptions.BrowserGoneException()
- raise exceptions.BrowserConnectionGoneException()
+ raise exceptions.BrowserGoneException(e)
+ raise exceptions.BrowserConnectionGoneException(e)
@property
def browser_directory(self):