Skip to content

Commit b30ca4b

Browse files
committed
hugolib: Make missing GitInfo a WARNING
And not an ERROR. Fixes #3376
1 parent 3bd1d05 commit b30ca4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎hugolib/gitinfo.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func (h *HugoSites) assembleGitInfo() {
5858
filename := path.Join(filepath.ToSlash(contentRoot), contentDir, filepath.ToSlash(p.Path()))
5959
g, ok := gitMap[filename]
6060
if !ok {
61-
h.Log.ERROR.Printf("Failed to find GitInfo for %q", filename)
61+
h.Log.WARN.Printf("Failed to find GitInfo for %q", filename)
6262
return
6363
}
6464

0 commit comments

Comments
 (0)