Skip to content

Commit

Permalink
fix(feeds): remove log stmt used for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
neurosnap committed Jan 5, 2023
1 parent 8de58a0 commit e157c1d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions feeds/cron.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,6 @@ func (f *Fetcher) ParseURL(fp *gofeed.Parser, url string) (*gofeed.Feed, error)
return nil, err
}

if strings.HasPrefix(url, "https://old") {
f.cfg.Logger.Infof("BODY: (%s)", string(body))
}

if resp.StatusCode < 200 || resp.StatusCode > 300 {
return nil, fmt.Errorf("fetching feed resulted in an error: %s %s", resp.Status, body)
}
Expand Down

0 comments on commit e157c1d

Please sign in to comment.