summaryrefslogtreecommitdiffstats
path: root/bridge/slack/slack.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2018-01-03 14:06:28 +0100
committerWim <wim@42.be>2018-01-09 00:03:31 +0100
commita5d019734906bedf7e8f07796eb29930b7305076 (patch)
treec4f11531ef8d834c7d1e6053a22245d1cd3f876a /bridge/slack/slack.go
parentf1ed2ab403c7c0ce797c51d75d27d88a5281b4c5 (diff)
downloadmatterbridge-msglm-a5d019734906bedf7e8f07796eb29930b7305076.tar.gz
matterbridge-msglm-a5d019734906bedf7e8f07796eb29930b7305076.tar.bz2
matterbridge-msglm-a5d019734906bedf7e8f07796eb29930b7305076.zip
Log ConnectionErrorEvent (slack)
Diffstat (limited to 'bridge/slack/slack.go')
-rw-r--r--bridge/slack/slack.go2
1 files changed, 2 insertions, 0 deletions
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:
}
}