From b72514c25e2588667e8d8fe32063b7c610162fb4 Mon Sep 17 00:00:00 2001 From: Ben Sarmiento Date: Fri, 26 Jan 2024 13:33:02 +0100 Subject: [PATCH] Log download link instead --- internal/universal/downloader.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/universal/downloader.go b/internal/universal/downloader.go index c8067fd..5cbba8c 100644 --- a/internal/universal/downloader.go +++ b/internal/universal/downloader.go @@ -157,9 +157,9 @@ func (dl *Downloader) streamFileToResponse(torrent *intTor.Torrent, file *intTor } if torrent != nil { - log.Debugf("Opening file %s from torrent %s (%s)%s", file.Path, torMgr.GetKey(torrent), unrestrict.Link, rangeLog) + log.Debugf("Opening file %s from torrent %s (%s)%s", unrestrict.Download, torMgr.GetKey(torrent), unrestrict.Link, rangeLog) } else { - log.Debugf("Opening file %s (%s)%s", file.Path, unrestrict.Link, rangeLog) + log.Debugf("Opening file %s (%s)%s", unrestrict.Download, unrestrict.Link, rangeLog) } download, err := dl.client.Do(dlReq)