From: Matt Joiner Date: Fri, 25 Feb 2022 08:51:11 +0000 (+1100) Subject: Fix error quoting in log X-Git-Tag: v1.42.0~14^2~1 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=6f9390a1256dd2f0d5e98fcdb70b23dd50f2ce02;p=btrtrc.git Fix error quoting in log --- diff --git a/sources.go b/sources.go index b2d5b940..46c6abe9 100644 --- a/sources.go +++ b/sources.go @@ -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) }() } }