mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00
fix: handle file download failure (#132)
* fix: handle file download error * fix: return error on fail to download
This commit is contained in:
parent
c25ba31a70
commit
bcc9fad509
2 changed files with 2 additions and 2 deletions
|
@ -247,7 +247,7 @@ func (s *service) FindAndCheckFilters(release *domain.Release) (bool, *domain.Fi
|
|||
torrentFileRes, err = release.DownloadTorrentFile(nil)
|
||||
if err != nil {
|
||||
log.Error().Stack().Err(err).Msgf("filter-service.find_and_check_filters: (%v) could not download torrent file with id: '%v' from: %v", f.Name, release.TorrentID, release.Indexer)
|
||||
continue
|
||||
return false, nil, err
|
||||
}
|
||||
|
||||
// parse torrent metainfo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue