mirror of https://github.com/velour/catbase.git
Update slack integration to not Fatal on bad msgs
This commit is contained in:
parent
b0210fd240
commit
d582a294a5
|
@ -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":
|
||||
|
|
Loading…
Reference in New Issue