Check HTTP status codes in the GitHub service for errors.
Review Request #5921 — Created June 2, 2014 and submitted — Latest diff uploaded
Now that we have an
http_code
field inHostingServiceError
, 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.