mirror of
https://github.com/42wim/matterbridge.git
synced 2024-12-18 17:12:37 +01:00
Update gitter vendor. (fixes crash)
This commit is contained in:
parent
62e9de1a3b
commit
e49266ae43
5
vendor/github.com/sromku/go-gitter/stream.go
generated
vendored
5
vendor/github.com/sromku/go-gitter/stream.go
generated
vendored
@ -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
2
vendor/manifest
vendored
@ -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
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user