fix: handle TorBox 'checking' state as downloading, add symlink completion logging
CI/CD / Build & Push Docker Image (push) Successful in 1m10s

- Add 'checking' to the list of downloading states in getTorboxStatus()
  so TorBox torrents in transitional state don't get marked as error
- Add debug log before calling onSuccess to trace state update flow

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-31 11:56:14 -08:00
committed by John Ogle
parent 4cf8246550
commit f5b1f100e2
2 changed files with 6 additions and 1 deletions
+4
View File
@@ -235,6 +235,10 @@ func (s *Store) processFiles(torrent *Torrent, debridTorrent *types.Torrent, imp
onFailed(err)
return
}
s.logger.Debug().
Str("torrent_name", debridTorrent.Name).
Str("symlink_path", torrentSymlinkPath).
Msg("Symlink processing complete, calling onSuccess")
onSuccess(torrentSymlinkPath)
return
case "download":