diff options
-rw-r--r-- | vendor/github.com/sromku/go-gitter/stream.go | 5 | ||||
-rw-r--r-- | vendor/manifest | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/vendor/github.com/sromku/go-gitter/stream.go b/vendor/github.com/sromku/go-gitter/stream.go index 67a907cf..1c26ebeb 100644 --- a/vendor/github.com/sromku/go-gitter/stream.go +++ b/vendor/github.com/sromku/go-gitter/stream.go @@ -137,7 +137,10 @@ func (stream *Stream) connect() { res, err := stream.gitter.getResponse(stream.url, stream) if err != nil || res.StatusCode != 200 { - stream.gitter.log(fmt.Sprintf("Failed to get response, trying reconnect (Status code: %v)", res.StatusCode)) + stream.gitter.log("Failed to get response, trying reconnect") + if res != nil { + stream.gitter.log(fmt.Sprintf("Status code: %v", res.StatusCode)) + } stream.gitter.log(err) // sleep and wait diff --git a/vendor/manifest b/vendor/manifest index 8eefc915..88a7aaa5 100644 --- a/vendor/manifest +++ b/vendor/manifest @@ -384,7 +384,7 @@ "importpath": "github.com/sromku/go-gitter", "repository": "https://github.com/sromku/go-gitter", "vcs": "git", - "revision": "0b9f26da1844acd3c6c2fd4ee2bdd30eb1a40568", + "revision": "16aadfbb65c6641501ea8eebb6bcf23b9011912b", "branch": "master", "notests": true }, |