From 20467e36b43b3146e3b82f43a5631fcdb8622fd9 Mon Sep 17 00:00:00 2001 From: spf13 Date: Thu, 16 Oct 2014 20:20:39 -0400 Subject: [PATCH] Improved error message when config file not found. --- commands/hugo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/hugo.go b/commands/hugo.go index 7ebd6371b..e3d8efa0f 100644 --- a/commands/hugo.go +++ b/commands/hugo.go @@ -94,7 +94,7 @@ func InitializeConfig() { viper.AddConfigPath(Source) err := viper.ReadInConfig() if err != nil { - jww.ERROR.Println("Config not found... using only defaults, stuff may not work") + jww.ERROR.Println("Unable to locate Config file. Perhaps you need to create a new site. Run `hugo help new` for details") } viper.RegisterAlias("taxonomies", "indexes")