Revert download link error to debug
This commit is contained in:
@@ -444,7 +444,7 @@ func (h *Handler) handleGet(w http.ResponseWriter, r *http.Request) {
|
|||||||
if file, ok := fRaw.(*File); ok && file.content == nil {
|
if file, ok := fRaw.(*File); ok && file.content == nil {
|
||||||
link, err := file.getDownloadLink()
|
link, err := file.getDownloadLink()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
h.logger.Error().
|
h.logger.Debug().
|
||||||
Err(err).
|
Err(err).
|
||||||
Str("path", r.URL.Path).
|
Str("path", r.URL.Path).
|
||||||
Msg("Could not fetch download link")
|
Msg("Could not fetch download link")
|
||||||
|
|||||||
Reference in New Issue
Block a user