Stop trying to process Untappd after it fails

This commit is contained in:
Chris Sexton 2016-03-28 15:34:40 -04:00
parent 0e69e58ff5
commit de3aba210a
1 changed files with 1 additions and 0 deletions

View File

@ -368,6 +368,7 @@ func (p *BeersPlugin) checkUntappd(channel string) {
chks, err := p.pullUntappd() chks, err := p.pullUntappd()
if err != nil { if err != nil {
log.Println("Untappd ERROR: ", err) log.Println("Untappd ERROR: ", err)
return
} }
for i := len(chks); i > 0; i-- { for i := len(chks); i > 0; i-- {
checkin := chks[i-1] checkin := chks[i-1]