Revert download link error to debug

This commit is contained in:
Mukhtar Akere
2025-05-13 14:08:49 +01:00
parent 03a1d73825
commit 64edc5547d

View File

@@ -444,7 +444,7 @@ func (h *Handler) handleGet(w http.ResponseWriter, r *http.Request) {
if file, ok := fRaw.(*File); ok && file.content == nil {
link, err := file.getDownloadLink()
if err != nil {
h.logger.Error().
h.logger.Debug().
Err(err).
Str("path", r.URL.Path).
Msg("Could not fetch download link")