hugolib: Make missing GitInfo a WARNING

And not an ERROR.

Fixes #3376
This commit is contained in:
Bjørn Erik Pedersen 2017-04-26 11:03:12 +02:00
parent 162d3a586d
commit 5ad2f17693

View file

@ -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
}