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:
Ludvig Lundgren 2022-02-04 17:38:18 +01:00 committed by GitHub
parent 26f558859a
commit fe25cdec28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 50 additions and 14 deletions

View file

@ -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
}