Index: Reduce log level to warn for related files

This commit is contained in:
Michael Mayer 2021-02-05 21:42:25 +01:00
parent ee555e8f6a
commit 303a3f77f9

View file

@ -77,7 +77,7 @@ func IndexRelated(related RelatedFiles, ind *Index, opt IndexOptions) (result In
result = IndexMain(&related, ind, opt)
if result.Failed() {
log.Error(result.Err)
log.Warn(result.Err)
return result
} else if !result.Success() || result.Stacked() {
// Skip related files if main file was stacked or indexing was not completely successful.