diff --git a/src/NzbDrone.Core/Download/Clients/QBittorrent/QBittorrentProxyV2.cs b/src/NzbDrone.Core/Download/Clients/QBittorrent/QBittorrentProxyV2.cs index 2ba1ae640..d59892bfd 100644 --- a/src/NzbDrone.Core/Download/Clients/QBittorrent/QBittorrentProxyV2.cs +++ b/src/NzbDrone.Core/Download/Clients/QBittorrent/QBittorrentProxyV2.cs @@ -46,6 +46,11 @@ namespace NzbDrone.Core.Download.Clients.QBittorrent return true; } + if (response.StatusCode == HttpStatusCode.Unauthorized) + { + throw new DownloadClientException("Failed to connect to qBittorrent. Check your settings and qBittorrent configuration.", new HttpException(response)); + } + if (response.HasHttpError) { throw new DownloadClientException("Failed to connect to qBittorrent, check your settings.", new HttpException(response));