From d582a294a517e410930a68db9fdba99217c45144 Mon Sep 17 00:00:00 2001 From: cws Date: Thu, 30 Mar 2017 10:47:02 -0400 Subject: [PATCH] Update slack integration to not Fatal on bad msgs --- slack/slack.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/slack/slack.go b/slack/slack.go index aa71f54..3a00df5 100644 --- a/slack/slack.go +++ b/slack/slack.go @@ -149,7 +149,8 @@ func (s *Slack) Serve() { for { msg, err := s.receiveMessage() if err != nil { - log.Fatalf("Slack API error: %s", err) + log.Printf("Slack API error: %s", err) + continue } switch msg.Type { case "message":