diff options
Diffstat (limited to 'hugolib/page.go')
-rw-r--r-- | hugolib/page.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/page.go b/hugolib/page.go index ca93bf18b..859834b91 100644 --- a/hugolib/page.go +++ b/hugolib/page.go @@ -536,7 +536,7 @@ func (p *pageState) renderResources() (err error) { // mode when the same resource is member of different page bundles. toBeDeleted = append(toBeDeleted, i) } else { - p.s.Log.ERROR.Printf("Failed to publish Resource for page %q: %s", p.pathOrTitle(), err) + p.s.Log.Errorf("Failed to publish Resource for page %q: %s", p.pathOrTitle(), err) } } else { p.s.PathSpec.ProcessingStats.Incr(&p.s.PathSpec.ProcessingStats.Files) @@ -718,7 +718,7 @@ func (p *pageState) getContentConverter() converter.Converter { }) if err != nil { - p.s.Log.ERROR.Println("Failed to create content converter:", err) + p.s.Log.Errorln("Failed to create content converter:", err) } return p.m.contentConverter } |