From 9b48d0c7a5bcdc3607d7c797aeb66f7a5f29908c Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Sat, 18 Jun 2016 17:23:53 +1000 Subject: [PATCH] Suppress tracker scraping errors until I decide what to do with them They're not really necessary, but I had them enabled while I rewrote the tracker scraper code. --- tracker_scraper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracker_scraper.go b/tracker_scraper.go index c675e115..5c3956b0 100644 --- a/tracker_scraper.go +++ b/tracker_scraper.go @@ -47,7 +47,7 @@ func (me *trackerScraper) announce() time.Duration { me.t.cl.mu.Unlock() res, err := tracker.AnnounceHost(urlToUse, &req, host) if err != nil { - log.Printf("error announcing %s %q to %q: %s", me.t.InfoHash().HexString(), me.t.Name(), me.url, err) + // log.Printf("error announcing %s %q to %q: %s", me.t.InfoHash().HexString(), me.t.Name(), me.url, err) return 5 * time.Minute } me.t.AddPeers(trackerToTorrentPeers(res.Peers)) -- 2.50.0