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)