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

Issue 9091009: Provide a friendlier error message after Rietveld issue deletion. (Closed)

Created:
8 years, 11 months ago by miket_OOO
Modified:
8 years, 11 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews, Dirk Pranke, M-A Ruel, Evan Martin
Visibility:
Public.

Description

Provide a friendlier error message after Rietveld issue deletion. As a n0oB to Chrome, I sometimes deleted uploaded CLs on codereview.chromium.org after looking at them and deciding they were unsuitable for review. I would then later git cl upload and get a confusing stacktrace about a 404. This change lets the user know why the error happened, and how to resolve it. I decided not to auto-scrub the old issue on the client side, because the 404 might be spurious (server misconfiguration, bug in my code, etc.). Safer to make the user explicitly run the command. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=116360

Patch Set 1 : '' #

Total comments: 1

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -2 lines) Patch
M git_cl.py View 1 2 1 chunk +17 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
miket_OOO
8 years, 11 months ago (2012-01-04 17:52:35 UTC) #1
M-A Ruel
http://codereview.chromium.org/9091009/diff/2001/git_cl.py File git_cl.py (right): http://codereview.chromium.org/9091009/diff/2001/git_cl.py#newcode518 git_cl.py:518: except urllib2.HTTPError, e: I'd prefer to have this at ...
8 years, 11 months ago (2012-01-04 17:56:48 UTC) #2
miket_OOO
> I'd prefer to have this at line 448 so all calls would be properly ...
8 years, 11 months ago (2012-01-04 19:12:29 UTC) #3
M-A Ruel
http://codereview.chromium.org/9091009/diff/2002/git_cl.py File git_cl.py (right): http://codereview.chromium.org/9091009/diff/2002/git_cl.py#newcode456 git_cl.py:456: '404 (not found)\nerror. It is likely that you deleted ...
8 years, 11 months ago (2012-01-04 19:16:35 UTC) #4
miket_OOO
Reformatted.
8 years, 11 months ago (2012-01-04 19:35:12 UTC) #5
M-A Ruel
lgtm
8 years, 11 months ago (2012-01-04 19:38:32 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miket@chromium.org/9091009/8001
8 years, 11 months ago (2012-01-04 19:38:41 UTC) #7
commit-bot: I haz the power
8 years, 11 months ago (2012-01-04 19:44:59 UTC) #8
Change committed as 116360

Powered by Google App Engine
This is Rietveld 408576698