This commit is contained in:
Mukhtar Akere
2025-02-28 20:21:45 +01:00
parent 84bd93805f
commit e741a0e32b
4 changed files with 27 additions and 66 deletions

View File

@@ -81,7 +81,9 @@ func (q *QBit) ProcessFiles(torrent *Torrent, debridTorrent *debrid.Torrent, arr
q.logger.Error().Msgf("Error checking status: %v", err)
go debridClient.DeleteTorrent(debridTorrent)
q.MarkAsFailed(torrent)
_ = arr.Refresh()
if err := arr.Refresh(); err != nil {
q.logger.Error().Msgf("Error refreshing arr: %v", err)
}
return
}