From cfe186d6cbdbda54ed32fd8d55092674698bc181 Mon Sep 17 00:00:00 2001
From: Danilo Bargen <mail@dbrgn.ch>
Date: Tue, 8 Jul 2014 14:07:05 +0200
Subject: [PATCH] Fixed wrong error message

---
 oauthproxy.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/oauthproxy.go b/oauthproxy.go
index 83924893..4194544b 100644
--- a/oauthproxy.go
+++ b/oauthproxy.go
@@ -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 {