From: Matt Joiner Date: Sat, 18 Jun 2016 07:23:53 +0000 (+1000) Subject: Suppress tracker scraping errors until I decide what to do with them X-Git-Tag: v1.0.0~679 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=9b48d0c7a5bcdc3607d7c797aeb66f7a5f29908c;p=btrtrc.git 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. --- 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))