mirror of
https://github.com/gohugoio/hugo.git
synced 2025-03-18 22:13:44 +00:00
parent
3e4fbbaae4
commit
7d991ed89c
2 changed files with 2 additions and 2 deletions
|
@ -1808,7 +1808,7 @@ func (s *Site) renderForLayouts(name string, d interface{}, w io.Writer, layouts
|
|||
if err := s.renderThing(d, layout, w); err != nil {
|
||||
|
||||
// Behavior here should be dependent on if running in server or watch mode.
|
||||
distinctErrorLogger.Printf("Error while rendering %s: %.60s…", name, err)
|
||||
distinctErrorLogger.Printf("Error while rendering %q: %s", name, err)
|
||||
if !s.running() && !testMode {
|
||||
// TODO(bep) check if this can be propagated
|
||||
os.Exit(-1)
|
||||
|
|
|
@ -58,7 +58,7 @@ func (s *Site) renderPages() error {
|
|||
|
||||
err := <-errs
|
||||
if err != nil {
|
||||
return fmt.Errorf("Error(s) rendering pages: %.60s…", err)
|
||||
return fmt.Errorf("Error(s) rendering pages: %s", err)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue