From 50bb571fa8c3cdd8872e20130e42f080c1d4b143 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Sat, 10 Jul 2021 13:45:50 +0200 Subject: reduce: log broken line only --- skate/reduce.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skate/reduce.go b/skate/reduce.go index f44f6df..ec582c6 100644 --- a/skate/reduce.go +++ b/skate/reduce.go @@ -61,7 +61,7 @@ func ZippyExact(releases, refs io.Reader, matchResult MatchResult, w io.Writer) } for _, line := range g.G1 { if ref, err = parseRef(Cut(line, 2)); err != nil { - groupLogf(g, "[skip] failed to parse ref: %v", err) + log.Printf("[skip] failed to parse ref from line: '%s'", line) continue } bref.Reset() -- cgit v1.2.3