]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Fix error quoting in log
authorMatt Joiner <anacrolix@gmail.com>
Fri, 25 Feb 2022 08:51:11 +0000 (19:51 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Fri, 25 Feb 2022 08:59:16 +0000 (19:59 +1100)
sources.go

index b2d5b940106d4575e65959ed3994d0bc34a48b24..46c6abe9f9d8b3e7c745dd7de73112fdee39dc28 100644 (file)
@@ -33,7 +33,7 @@ func (t *Torrent) useSources(sources []string) {
                        if err != nil {
                                level = log.Warning
                        }
-                       t.logger.Levelf(level, "used torrent source %q [err=%q]", s, err)
+                       t.logger.Levelf(level, "used torrent source %q [err=%v]", s, err)
                }()
        }
 }