aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2017-04-26 11:03:12 +0200
committerBjørn Erik Pedersen <[email protected]>2017-04-26 11:03:12 +0200
commit5ad2f17693a9860be76ef8089c8728d2b59d6b04 (patch)
tree94860b960adcbe32c9a1fd721590e68dc932f83c /hugolib
parent162d3a586d36cabf6376a76b096fd8b6414487ae (diff)
downloadhugo-5ad2f17693a9860be76ef8089c8728d2b59d6b04.tar.gz
hugo-5ad2f17693a9860be76ef8089c8728d2b59d6b04.zip
hugolib: Make missing GitInfo a WARNING
And not an ERROR. Fixes #3376
Diffstat (limited to 'hugolib')
-rw-r--r--hugolib/gitinfo.go2
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
}