summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-06-19 20:27:14 +0200
committerWim <wim@42.be>2017-06-19 20:27:14 +0200
commite49266ae4360c2d75fd004cdec38528cc3127ffe (patch)
treef37052e361813bf987badb75fc0d62450a2f4d6e
parent62e9de1a3b79e57d884dcec8ef22ed6db2dc0df0 (diff)
downloadmatterbridge-msglm-e49266ae4360c2d75fd004cdec38528cc3127ffe.tar.gz
matterbridge-msglm-e49266ae4360c2d75fd004cdec38528cc3127ffe.tar.bz2
matterbridge-msglm-e49266ae4360c2d75fd004cdec38528cc3127ffe.zip
Update gitter vendor. (fixes crash)
-rw-r--r--vendor/github.com/sromku/go-gitter/stream.go5
-rw-r--r--vendor/manifest2
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
},