Suppress some noisy errors that aren't interesting to the average user

This commit is contained in:
Matt Joiner 2015-03-25 17:28:34 +11:00
parent 01210a4577
commit c471613cd0
1 changed files with 2 additions and 3 deletions

View File

@ -687,7 +687,7 @@ func (cl *Client) incomingConnection(nc net.Conn, utp bool) {
c.uTP = utp
err := cl.runReceivedConn(c)
if err != nil {
log.Print(err)
// log.Print(err)
}
}
@ -893,7 +893,6 @@ func (me *Client) outgoingConnection(t *torrent, addr string, ps peerSource) {
// failure.
me.noLongerHalfOpen(t, addr)
if err != nil {
log.Print(err)
return
}
if c == nil {
@ -903,7 +902,7 @@ func (me *Client) outgoingConnection(t *torrent, addr string, ps peerSource) {
c.Discovery = ps
err = me.runInitiatedHandshookConn(c, t)
if err != nil {
log.Print(err)
// log.Print(err)
}
}