From: Bjørn Erik Pedersen Date: Mon, 13 Jul 2015 08:38:28 +0000 (+0200) Subject: Log missing theme as FATAL X-Git-Tag: v0.15~289 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=354192d2b8b18f92966f77e156a9f09d0570ec98;p=brevno-suite%2Fhugo Log missing theme as FATAL See #1234 --- diff --git a/commands/hugo.go b/commands/hugo.go index fabbaa51..91f841e5 100644 --- a/commands/hugo.go +++ b/commands/hugo.go @@ -281,8 +281,7 @@ func InitializeConfig() { themeDir := helpers.GetThemeDir() if themeDir != "" { if _, err := os.Stat(themeDir); os.IsNotExist(err) { - jww.ERROR.Println("Unable to find theme Directory:", themeDir) - os.Exit(1) + jww.FATAL.Fatalln("Unable to find theme Directory:", themeDir) } }