Permalink
Browse files

hugolib: Make missing GitInfo a WARNING

And not an ERROR.

Fixes #3376
  • Loading branch information...
bep committed Apr 26, 2017
1 parent 3bd1d05 commit b30ca4bec811dbc17e9fd05925544db2b75e0e49
Showing with 1 addition and 1 deletion.
  1. +1 −1 hugolib/gitinfo.go
View
@@ -58,7 +58,7 @@ func (h *HugoSites) assembleGitInfo() {
filename := path.Join(filepath.ToSlash(contentRoot), contentDir, filepath.ToSlash(p.Path()))
g, ok := gitMap[filename]
if !ok {
h.Log.ERROR.Printf("Failed to find GitInfo for %q", filename)
h.Log.WARN.Printf("Failed to find GitInfo for %q", filename)
return
}

0 comments on commit b30ca4b

Please sign in to comment.