diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-04-26 11:03:12 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-04-26 11:03:12 +0200 |
commit | 5ad2f17693a9860be76ef8089c8728d2b59d6b04 (patch) | |
tree | 94860b960adcbe32c9a1fd721590e68dc932f83c /hugolib | |
parent | 162d3a586d36cabf6376a76b096fd8b6414487ae (diff) |
hugolib: Make missing GitInfo a WARNING
And not an ERROR.
Fixes #3376
Diffstat (limited to 'hugolib')
-rw-r--r-- | hugolib/gitinfo.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/gitinfo.go b/hugolib/gitinfo.go index dfa2b4dc8..f4789320d 100644 --- a/hugolib/gitinfo.go +++ b/hugolib/gitinfo.go @@ -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 } |