mirror of
https://github.com/idanoo/autobrr
synced 2025-07-22 16:29:12 +00:00
refactor: download client addr parsing (#108)
* refactor: client addr parsing * feat: add logging to client test * feat: imrpove help for download client forms
This commit is contained in:
parent
26f558859a
commit
fe25cdec28
7 changed files with 50 additions and 14 deletions
|
@ -50,6 +50,8 @@ func (s *service) testQbittorrentConnection(client domain.DownloadClient) error
|
|||
return err
|
||||
}
|
||||
|
||||
log.Debug().Msgf("test client connection for qBittorrent: success")
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
@ -92,7 +94,7 @@ func (s *service) testDelugeConnection(client domain.DownloadClient) error {
|
|||
return err
|
||||
}
|
||||
|
||||
log.Debug().Msgf("daemon version: %v", ver)
|
||||
log.Debug().Msgf("test client connection for Deluge: success - daemon version: %v", ver)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
@ -112,6 +114,8 @@ func (s *service) testRadarrConnection(client domain.DownloadClient) error {
|
|||
return err
|
||||
}
|
||||
|
||||
log.Debug().Msgf("test client connection for Radarr: success")
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
@ -130,6 +134,8 @@ func (s *service) testSonarrConnection(client domain.DownloadClient) error {
|
|||
return err
|
||||
}
|
||||
|
||||
log.Debug().Msgf("test client connection for Sonarr: success")
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
@ -148,5 +154,7 @@ func (s *service) testLidarrConnection(client domain.DownloadClient) error {
|
|||
return err
|
||||
}
|
||||
|
||||
log.Debug().Msgf("test client connection for Lidarr: success")
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue