From a5d019734906bedf7e8f07796eb29930b7305076 Mon Sep 17 00:00:00 2001 From: Wim Date: Wed, 3 Jan 2018 14:06:28 +0100 Subject: Log ConnectionErrorEvent (slack) --- bridge/slack/slack.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bridge/slack/slack.go b/bridge/slack/slack.go index 9f3c2d2f..b64ccb84 100644 --- a/bridge/slack/slack.go +++ b/bridge/slack/slack.go @@ -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: } } -- cgit v1.2.3