From 354192d2b8b18f92966f77e156a9f09d0570ec98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Mon, 13 Jul 2015 10:38:28 +0200 Subject: [PATCH] Log missing theme as FATAL See #1234 --- commands/hugo.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/commands/hugo.go b/commands/hugo.go index fabbaa51a..91f841e57 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) } }