diff options
author | Cameron Moore <moorereason@gmail.com> | 2017-03-10 15:45:07 -0600 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-03-10 23:22:43 +0100 |
commit | ddc8cc0082965143a650052a9aa538bac9133481 (patch) | |
tree | 2c16bff2e5e475d9c66307cfe405ca05f9e4e037 /hugolib/handler_base.go | |
parent | 0e44f75ebd12106e7a2dc602f9d6c650fc356cf2 (diff) |
hugolib: Clean up redundant frontmatter error logging
Fixes #3157
Diffstat (limited to 'hugolib/handler_base.go')
-rw-r--r-- | hugolib/handler_base.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/handler_base.go b/hugolib/handler_base.go index 5b094fe16..89aadd11f 100644 --- a/hugolib/handler_base.go +++ b/hugolib/handler_base.go @@ -42,10 +42,10 @@ type HandledResult struct { func (h HandledResult) Error() string { if h.err != nil { if h.page != nil { - return "Error:" + h.err.Error() + " for " + h.page.File.LogicalName() + return "Error: " + h.err.Error() + " for " + h.page.File.LogicalName() } if h.file != nil { - return "Error:" + h.err.Error() + " for " + h.file.LogicalName() + return "Error: " + h.err.Error() + " for " + h.file.LogicalName() } } return h.err.Error() |