Skip to content

Commit

Permalink
Added which feed could not be fetched rather than a cryptic error
Browse files Browse the repository at this point in the history
  • Loading branch information
kvannotten committed Mar 6, 2016
1 parent fa6e5c2 commit d501bf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feedparser/feedparser.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func Parse(podcast configuration.Podcast, wg *sync.WaitGroup) {
defer wg.Done()
resp, err := doRequest(podcast.Feed, podcast.Username, podcast.Password)
if err != nil {
fmt.Printf("Could not fetch feed: %s\n", err)
fmt.Printf("Could not fetch feed: %s due to:\n %s\n", podcast.Name, err)
return
}
defer resp.Body.Close()
Expand Down

0 comments on commit d501bf8

Please sign in to comment.