Improve: Shorten file support warning message #2207

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer 2023-02-13 15:24:59 +01:00
parent 524b5c7f3f
commit 3e767d6b3c

View file

@ -406,7 +406,7 @@ func (m *MediaFile) RelatedFiles(stripSequence bool) (result RelatedFiles, err e
t = "unknown type"
}
return result, fmt.Errorf("no supported files found for %s (%s)", clean.Log(m.BaseName()), t)
return result, fmt.Errorf("%s is unsupported (%s)", clean.Log(m.BaseName()), t)
}
// Add hidden JPEG if exists.