From 0b3a06d263699363656d3536adc1348395431495 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(+) (limited to 'bridge') 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