diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2022-02-28 10:43:39 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2022-02-28 10:44:32 +0100 |
commit | 6353dd156a9794499781b6f26be7b13b227b5628 (patch) | |
tree | a368444f7c58a4ccdbded0c65278bd595132dcb0 /hswg/main.go | |
parent | 7a2ea02c8d5c96c70f6d7098d316b12c00e7c9fc (diff) | |
download | haven-6353dd156a9794499781b6f26be7b13b227b5628.tar.gz haven-6353dd156a9794499781b6f26be7b13b227b5628.tar.xz haven-6353dd156a9794499781b6f26be7b13b227b5628.zip |
hswg: log the error message on :date: parse fail
Diffstat (limited to 'hswg/main.go')
-rw-r--r-- | hswg/main.go | 1 |
1 files changed, 1 insertions, 0 deletions
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 } } |