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

Log ConnectionErrorEvent (slack)

This commit is contained in:
Wim 2018-01-03 14:06:28 +01:00
parent f1ed2ab403
commit a5d0197349

View File

@ -396,6 +396,8 @@ func (b *Bslack) handleSlackClient(mchan chan *MMMessage) {
} }
case *slack.InvalidAuthEvent: case *slack.InvalidAuthEvent:
flog.Fatalf("Invalid Token %#v", ev) flog.Fatalf("Invalid Token %#v", ev)
case *slack.ConnectionErrorEvent:
flog.Errorf("Connection failed %#v %#v", ev.Error(), ev.ErrorObj)
default: default:
} }
} }