the git mozreview command should report the error returned by the server

NEW
Unassigned

Status

MozReview
Integration: Git
2 years ago
2 years ago

People

(Reporter: glob, Unassigned)

Tracking

Production

Details

(Reporter)

Description

2 years ago
if you push a review to someone who is currently blocking review requests, review board returns http/500 with an error message that contains the reason.

git mozreview outputs:
> publish these review requests now (Yn)?
> abort: server error when publishing review requests

hg push output:
> publish these review requests now (Yn)?
> error publishing review request 6: Error publishing: Bugzilla error: Level 1 User :level1 <level1@example.com> is not currently accepting 'review' requests. (HTTP 500, API Error 225)
> (review requests not published; visit review url to attempt publishing there)

hg mercurial output is pretty ugly, but it's more informative than git's.
You need to log in before you can comment on or make changes to this bug.