Log ConnectionErrorEvent (slack)

This commit is contained in:
Wim 2018-01-03 14:06:28 +01:00
parent 9a6249c4f5
commit 0b3a06d263
1 changed files with 2 additions and 0 deletions

View File

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