repos / pico

pico services - prose.sh, pastes.sh, imgs.sh, feeds.sh, pgs.sh
git clone https://github.com/picosh/pico.git

commit
e157c1d
parent
8de58a0
author
Eric Bower
date
2023-01-05 04:18:52 +0000 UTC
fix(feeds): remove log stmt used for debugging
1 files changed,  +0, -4
M feeds/cron.go
+0, -4
 1@@ -177,10 +177,6 @@ func (f *Fetcher) ParseURL(fp *gofeed.Parser, url string) (*gofeed.Feed, error)
 2 		return nil, err
 3 	}
 4 
 5-	if strings.HasPrefix(url, "https://old") {
 6-		f.cfg.Logger.Infof("BODY: (%s)", string(body))
 7-	}
 8-
 9 	if resp.StatusCode < 200 || resp.StatusCode > 300 {
10 		return nil, fmt.Errorf("fetching feed resulted in an error: %s %s", resp.Status, body)
11 	}