]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Demote webrtc conn error logging level to debug
authorMatt Joiner <anacrolix@gmail.com>
Wed, 1 Jun 2022 08:18:37 +0000 (18:18 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Wed, 1 Jun 2022 08:18:37 +0000 (18:18 +1000)
Fixes #716.

torrent.go

index cc9458d1388dc654beda49274ea61500087aef8c..36b012ee8d656dd47e838ea23e320d76e51b67ad 100644 (file)
@@ -1598,7 +1598,7 @@ func (t *Torrent) onWebRtcConn(
        defer t.cl.unlock()
        err = t.cl.runHandshookConn(pc, t)
        if err != nil {
-               t.logger.WithDefaultLevel(log.Critical).Printf("error running handshook webrtc conn: %v", err)
+               t.logger.WithDefaultLevel(log.Debug).Printf("error running handshook webrtc conn: %v", err)
        }
 }