Skip to content

Commit

Permalink
Fixed wrong error message
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrgn committed Jul 8, 2014
1 parent 14e845d commit cfe186d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oauthproxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func apiRequest(req *http.Request) (*simplejson.Json, error) {
}
if resp.StatusCode != 200 {
log.Printf("got response code %d - %s", resp.StatusCode, body)
return nil, errors.New("api request returned 200 status code")
return nil, errors.New("api request returned non 200 status code")
}
data, err := simplejson.NewJson(body)
if err != nil {
Expand Down

0 comments on commit cfe186d

Please sign in to comment.