From 85cce40a1fb6265e2c2859322e3d99845e91bdf8 Mon Sep 17 00:00:00 2001 From: Daniil Tsivinsky Date: Mon, 2 Feb 2026 23:29:00 +0300 Subject: [PATCH] add logs for jackett & qbittorrent api calls --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index 3efb621..3a2dec6 100644 --- a/main.go +++ b/main.go @@ -184,6 +184,7 @@ func main() { Query: item.Query, }) if err != nil { + log.Printf("couldn't get to jackett api: %v\n", err) continue } @@ -319,6 +320,7 @@ func main() { if torrent.Hash != nil { properties, err := torrentClient.GetTorrentProperties(*torrent.Hash) if err != nil { + log.Printf("couldn't get to qbittorrent api: %v\n", err) continue } torrent.Downloaded = properties.CompletionDate > -1