summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim <wim@42.be>2018-01-03 14:06:28 +0100
committerWim <wim@42.be>2018-01-03 14:06:28 +0100
commit0b3a06d263699363656d3536adc1348395431495 (patch)
tree01559b1ee240008f4395c830fbbe40a128c902c7
parent9a6249c4f5c41cad185f82c6ba0fcd8eab4e478a (diff)
downloadmatterbridge-msglm-0b3a06d263699363656d3536adc1348395431495.tar.gz
matterbridge-msglm-0b3a06d263699363656d3536adc1348395431495.tar.bz2
matterbridge-msglm-0b3a06d263699363656d3536adc1348395431495.zip
Log ConnectionErrorEvent (slack)
-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:
}
}