5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-26 06:31:36 +00:00

Update gitter vendor. (fixes crash)

This commit is contained in:
Wim 2017-06-19 20:27:14 +02:00
parent 62e9de1a3b
commit e49266ae43
2 changed files with 5 additions and 2 deletions

View File

@ -137,7 +137,10 @@ func (stream *Stream) connect() {
res, err := stream.gitter.getResponse(stream.url, stream) res, err := stream.gitter.getResponse(stream.url, stream)
if err != nil || res.StatusCode != 200 { 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) stream.gitter.log(err)
// sleep and wait // sleep and wait

2
vendor/manifest vendored
View File

@ -384,7 +384,7 @@
"importpath": "github.com/sromku/go-gitter", "importpath": "github.com/sromku/go-gitter",
"repository": "https://github.com/sromku/go-gitter", "repository": "https://github.com/sromku/go-gitter",
"vcs": "git", "vcs": "git",
"revision": "0b9f26da1844acd3c6c2fd4ee2bdd30eb1a40568", "revision": "16aadfbb65c6641501ea8eebb6bcf23b9011912b",
"branch": "master", "branch": "master",
"notests": true "notests": true
}, },