mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
Revise format for "Unable to locate Config file" error
This commit is contained in:
parent
df85e5a0aa
commit
c9526f6e3f
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ func InitializeConfig() error {
|
|||
if _, ok := err.(viper.ConfigParseError); ok {
|
||||
return newSystemError(err)
|
||||
} else {
|
||||
return newSystemError("Unable to locate Config file. Perhaps you need to create a new site. Run `hugo help new` for details", err)
|
||||
return newSystemErrorF("Unable to locate Config file. Perhaps you need to create a new site.\n Run `hugo help new` for details. (%s)\n", err)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue