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

Issue 1681333005: Raise exceptions properly on HTTP errors from OAuthRpcServer (which is only used on bots) (Closed)

Created:
4 years, 10 months ago by dsansome
Modified:
4 years, 10 months ago
Reviewers:
Vadim Sh., agable
CC:
chromium-reviews, dpranke+depot_tools_chromium.org, iannucci+depot_tools_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Raise exceptions properly on HTTP errors from OAuthRpcServer (which is only used on bots) This will hopefully make Rietveld._send retry 500s like it promises to BUG=585632 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=298726

Patch Set 1 #

Patch Set 2 : Pass a fp argument to HTTPError so urllib adds the methods to make it look like a file object #

Total comments: 2

Patch Set 3 : All 200s are successes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -10 lines) Patch
M rietveld.py View 1 2 6 chunks +17 lines, -10 lines 0 comments Download
M tests/rietveld_test.py View 1 2 chunks +103 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
dsansome
Patch set 1 is the same as https://codereview.chromium.org/1683603002 (that got rolled back), patch set 2 ...
4 years, 10 months ago (2016-02-10 02:45:03 UTC) #3
agable
lgtm
4 years, 10 months ago (2016-02-10 17:34:50 UTC) #4
Vadim Sh.
https://codereview.chromium.org/1681333005/diff/20001/rietveld.py File rietveld.py (right): https://codereview.chromium.org/1681333005/diff/20001/rietveld.py#newcode577 rietveld.py:577: if ret[0].status != 200: < 300 are usually successes. ...
4 years, 10 months ago (2016-02-10 19:52:09 UTC) #5
dsansome
https://codereview.chromium.org/1681333005/diff/20001/rietveld.py File rietveld.py (right): https://codereview.chromium.org/1681333005/diff/20001/rietveld.py#newcode577 rietveld.py:577: if ret[0].status != 200: On 2016/02/10 19:52:08, Vadim Sh. ...
4 years, 10 months ago (2016-02-11 00:26:29 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1681333005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1681333005/40001
4 years, 10 months ago (2016-02-11 00:26:38 UTC) #9
commit-bot: I haz the power
4 years, 10 months ago (2016-02-11 00:28:40 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
http://src.chromium.org/viewvc/chrome?view=rev&revision=298726

Powered by Google App Engine
This is Rietveld 408576698