From: Franklin Wise Date: Sun, 10 Aug 2014 16:58:10 +0000 (-0700) Subject: errors not propagating X-Git-Tag: v0.12~57 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5ae28327;p=brevno-suite%2Fhugo errors not propagating --- diff --git a/commands/hugo.go b/commands/hugo.go index ec3d835a..6265e998 100644 --- a/commands/hugo.go +++ b/commands/hugo.go @@ -273,7 +273,7 @@ func buildSite(watching ...bool) (err error) { } err = site.Build() if err != nil { - return + return err } site.Stats() jww.FEEDBACK.Printf("in %v ms\n", int(1000*time.Since(startTime).Seconds()))