Check HTTP status codes in the GitHub service for errors.

Review Request #5921 — Created June 2, 2014 and submitted — Latest diff uploaded

Information

Review Board
master
cef6726...

Reviewers

Now that we have an http_code field in HostingServiceError, we can
check it instead of the error message text. This should help prevent
problems in the future if strings ever change.

Unit tests pass.

Diff Revision 1 (Latest)

reviewboard/hostingsvcs/github.py
Loading...