diff options
author | Wim <wim@42.be> | 2018-01-03 14:06:28 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2018-01-09 00:03:31 +0100 |
commit | a5d019734906bedf7e8f07796eb29930b7305076 (patch) | |
tree | c4f11531ef8d834c7d1e6053a22245d1cd3f876a | |
parent | f1ed2ab403c7c0ce797c51d75d27d88a5281b4c5 (diff) | |
download | matterbridge-msglm-a5d019734906bedf7e8f07796eb29930b7305076.tar.gz matterbridge-msglm-a5d019734906bedf7e8f07796eb29930b7305076.tar.bz2 matterbridge-msglm-a5d019734906bedf7e8f07796eb29930b7305076.zip |
Log ConnectionErrorEvent (slack)
-rw-r--r-- | bridge/slack/slack.go | 2 |
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: } } |