Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Todd Blose committed May 4, 2016
1 parent 11f857f commit cdc730a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/github.com/getlantern/flashlight/feed/feed.go
Expand Up @@ -105,9 +105,10 @@ func GetFeed(locale string, allStr string, proxyAddr string,
doGetFeed(defaultFeedEndpoint, locale, allStr, proxyAddr, provider)
}

// handleError logs the given error message and sets the current feed to nil
func handleError(err error) {
feed = nil
log.Error(err)
feed = nil
}

// doRequest creates an HTTP request for the given feedURL and returns an HTTP
Expand Down

0 comments on commit cdc730a

Please sign in to comment.