errors not propagating
authorFranklin Wise <franklin@krave-n.com>
Sun, 10 Aug 2014 16:58:10 +0000 (09:58 -0700)
committerspf13 <steve.francia@gmail.com>
Mon, 18 Aug 2014 15:43:55 +0000 (11:43 -0400)
commands/hugo.go

index ec3d835aa11c411a3a22a4081da163f1cceb3727..6265e998a29436870ef881a273a6e77ab3a84f26 100644 (file)
@@ -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()))