Этот коммит содержится в:
Christopher Speller
2016-02-08 09:41:56 -05:00
родитель 91c78682f5
Коммит 476822ca8d

Просмотреть файл

@@ -75,7 +75,10 @@ func SlackParseUsers(data io.Reader) []SlackUser {
var users []SlackUser
if err := decoder.Decode(&users); err != nil {
return make([]SlackUser, 0)
// This actually returns errors that are ignored.
// In this case it is erroring because of a null that Slack
// introduced. So we just return the users here.
return users
}
return users
}