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

Issue 2026193003: tools/android/loading: Lets some execption pass through chrome controller's Open (Closed)

Created:
4 years, 6 months ago by gabadie
Modified:
4 years, 6 months ago
Reviewers:
droger, pasko
CC:
chromium-reviews, mikecase+watch_chromium.org, gabadie+watch_chromium.org, jbudorick+watch_chromium.org, lizeb+watch-android-loading_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

tools/android/loading: Lets some execption pass through chrome controller's Open BUG=582080 Committed: https://crrev.com/79b66d38a29dda10dc6801a5e9d5950d09abb39a Cr-Commit-Position: refs/heads/master@{#397109}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -2 lines) Patch
M tools/android/loading/controller.py View 3 chunks +7 lines, -2 lines 3 comments Download

Messages

Total messages: 12 (4 generated)
gabadie
4 years, 6 months ago (2016-06-01 11:17:02 UTC) #2
droger
lgtm
4 years, 6 months ago (2016-06-01 11:23:01 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2026193003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2026193003/1
4 years, 6 months ago (2016-06-01 11:26:15 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 6 months ago (2016-06-01 12:12:07 UTC) #6
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/79b66d38a29dda10dc6801a5e9d5950d09abb39a Cr-Commit-Position: refs/heads/master@{#397109}
4 years, 6 months ago (2016-06-01 12:13:42 UTC) #8
pasko
fly-by ;o) https://codereview.chromium.org/2026193003/diff/1/tools/android/loading/controller.py File tools/android/loading/controller.py (right): https://codereview.chromium.org/2026193003/diff/1/tools/android/loading/controller.py#newcode85 tools/android/loading/controller.py:85: _PASSTHROUGH_WHITE_LIST = (MemoryError, SyntaxError) wow, interesting, did ...
4 years, 6 months ago (2016-06-01 12:47:17 UTC) #10
gabadie
https://codereview.chromium.org/2026193003/diff/1/tools/android/loading/controller.py File tools/android/loading/controller.py (right): https://codereview.chromium.org/2026193003/diff/1/tools/android/loading/controller.py#newcode85 tools/android/loading/controller.py:85: _PASSTHROUGH_WHITE_LIST = (MemoryError, SyntaxError) On 2016/06/01 12:47:17, pasko wrote: ...
4 years, 6 months ago (2016-06-01 12:54:43 UTC) #11
pasko
4 years, 6 months ago (2016-06-01 13:42:22 UTC) #12
Message was sent while issue was closed.
https://codereview.chromium.org/2026193003/diff/1/tools/android/loading/contr...
File tools/android/loading/controller.py (right):

https://codereview.chromium.org/2026193003/diff/1/tools/android/loading/contr...
tools/android/loading/controller.py:85: _PASSTHROUGH_WHITE_LIST = (MemoryError,
SyntaxError)
On 2016/06/01 12:54:43, gabadie wrote:
> On 2016/06/01 12:47:17, pasko wrote:
> > wow, interesting, did you actually hit a memory error?
> > are there other unrecoverable errors we want to stop on?
> 
> It is not obvious in this CL but there is exceptions such as SystemExit or
> KeyboardInterupt are not in subclasses of Exception but ExceptionBase. But the
> except: implictly does a except ExceptionBase, the reason why we change below
> from except: to except Exception:.
> 
> The issue is that there is some exception such as the one listed here that are
> still subclasses of Exception, the reason we are doing this
> _PASSTHROUGH_WHITE_LIST.

thanks, it is indeed not obvious

Powered by Google App Engine
This is Rietveld 408576698