From 6353dd156a9794499781b6f26be7b13b227b5628 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Mon, 28 Feb 2022 10:43:39 +0100 Subject: hswg: log the error message on :date: parse fail --- hswg/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/hswg/main.go b/hswg/main.go index 88ed486..9fe3fd7 100644 --- a/hswg/main.go +++ b/hswg/main.go @@ -128,6 +128,7 @@ func (e *Entry) Published() *time.Time { } else if t, err := time.Parse("2006-01-02", d); err == nil { return &t } else { + log.Printf("%s: date: %s\n", e.PathSource, err) return nil } } -- cgit v1.2.3-70-g09d2