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

Issue 969503002: Telemetry: Catch exceptions.Error instead of AppCrashException. (Closed)

Created:
5 years, 9 months ago by erikchen
Modified:
5 years, 9 months ago
Reviewers:
nednguyen, achuithb
CC:
chromium-reviews, telemetry-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@telemetry_make_new_exceptions4
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Telemetry: Catch exceptions.Error instead of AppCrashException. Each location that catches AppCrashException does not actually want to know if the app crashed. Rather, the code wants to know if there was an error performing an operation. I've updated teh code to catch the more general Exception. BUG=460625 Committed: https://crrev.com/38186fc4816e4e000f5e4789d7b4f9d09ce61c04 Cr-Commit-Position: refs/heads/master@{#319157}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -8 lines) Patch
M tools/telemetry/telemetry/core/backends/chrome/cros_unittest.py View 1 1 chunk +1 line, -1 line 2 comments Download
M tools/telemetry/telemetry/core/backends/chrome/misc_web_contents_backend.py View 1 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/page/shared_page_state.py View 1 chunk +2 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/user_story/user_story_runner.py View 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
erikchen
nednguyen: Please review.
5 years, 9 months ago (2015-02-28 00:24:20 UTC) #2
nednguyen
5 years, 9 months ago (2015-03-04 00:19:49 UTC) #4
achuithb
https://codereview.chromium.org/969503002/diff/20001/tools/telemetry/telemetry/core/backends/chrome/cros_unittest.py File tools/telemetry/telemetry/core/backends/chrome/cros_unittest.py (right): https://codereview.chromium.org/969503002/diff/20001/tools/telemetry/telemetry/core/backends/chrome/cros_unittest.py#newcode66 tools/telemetry/telemetry/core/backends/chrome/cros_unittest.py:66: devtools_http.DevToolsClientConnectionError): DevToolsClientConnectionError does not inherit from Error, is that ...
5 years, 9 months ago (2015-03-04 00:31:15 UTC) #5
erikchen
https://codereview.chromium.org/969503002/diff/20001/tools/telemetry/telemetry/core/backends/chrome/cros_unittest.py File tools/telemetry/telemetry/core/backends/chrome/cros_unittest.py (right): https://codereview.chromium.org/969503002/diff/20001/tools/telemetry/telemetry/core/backends/chrome/cros_unittest.py#newcode66 tools/telemetry/telemetry/core/backends/chrome/cros_unittest.py:66: devtools_http.DevToolsClientConnectionError): On 2015/03/04 00:31:15, achuithb wrote: > DevToolsClientConnectionError does ...
5 years, 9 months ago (2015-03-04 01:14:16 UTC) #6
achuithb
On 2015/03/04 01:14:16, erikchen wrote: > https://codereview.chromium.org/969503002/diff/20001/tools/telemetry/telemetry/core/backends/chrome/cros_unittest.py > File tools/telemetry/telemetry/core/backends/chrome/cros_unittest.py (right): > > https://codereview.chromium.org/969503002/diff/20001/tools/telemetry/telemetry/core/backends/chrome/cros_unittest.py#newcode66 > ...
5 years, 9 months ago (2015-03-04 21:28:04 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/969503002/20001
5 years, 9 months ago (2015-03-04 22:14:33 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 9 months ago (2015-03-04 23:18:23 UTC) #10
commit-bot: I haz the power
5 years, 9 months ago (2015-03-04 23:19:08 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/38186fc4816e4e000f5e4789d7b4f9d09ce61c04
Cr-Commit-Position: refs/heads/master@{#319157}

Powered by Google App Engine
This is Rietveld 408576698