diff --git a/internal/universal/get.go b/internal/universal/get.go index 7a1a06e..a1205f4 100644 --- a/internal/universal/get.go +++ b/internal/universal/get.go @@ -93,7 +93,7 @@ func (gf *GetFile) HandleGetRequest(w http.ResponseWriter, r *http.Request, t *i resp := t.UnrestrictUntilOk(link) if resp == nil { - log.Warnf("File %s is no longer available", file.Path) + log.Warnf("File %s is no longer available", filepath.Base(file.Path)) file.Link = "repair" t.SetChecksum("") // force a recheck gf.playErrorVideo("https://www.youtube.com/watch?v=gea_FJrtFVA", w, r, t, c, log) @@ -175,6 +175,7 @@ func (gf *GetFile) playErrorVideo(link string, w http.ResponseWriter, r *http.Re http.Error(w, "REAL-DEBRID IS DOWN", http.StatusInternalServerError) return } + log.Debugf("Serving error video %s", link) if c.ShouldServeFromRclone() { redirect(w, r, resp.Download, c) } else {