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 162d3a5 commit 5ad2f17693a9860be76ef8089c8728d2b59d6b04
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 5ad2f17

Please sign in to comment.