summaryrefslogtreecommitdiffstats
path: root/commands/hugo.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/hugo.go')
-rw-r--r--commands/hugo.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/commands/hugo.go b/commands/hugo.go
index 2204ae9f3..acc48539d 100644
--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -620,7 +620,9 @@ func (c *commandeer) buildSites() (err error) {
func (c *commandeer) handleBuildErr(err error, msg string) {
c.buildErr = err
- c.logger.ERROR.Printf("%s: %s", msg, err)
+
+ c.logger.ERROR.Print(msg + ":\n\n")
+ c.logger.ERROR.Println(helpers.FirstUpper(err.Error()))
if !c.h.quiet && c.h.verbose {
herrors.PrintStackTrace(err)
}