mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
removed some warnings, logging tweaks
This commit is contained in:
parent
56a13b2511
commit
34f7b9ca7d
4 changed files with 12 additions and 17 deletions
|
@ -42,11 +42,13 @@ namespace NzbDrone.Core.Providers
|
|||
Logger.Info("Adding report [{0}] to the queue.", title);
|
||||
|
||||
string response = _httpProvider.DownloadString(request).Replace("\n", String.Empty);
|
||||
Logger.Debug("Queue Repsonse: [{0}]", response);
|
||||
Logger.Debug("Queue Response: [{0}]", response);
|
||||
|
||||
if (response == "ok")
|
||||
return true;
|
||||
|
||||
Logger.Warn("SAB returned unexpected response '{0}'", response);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue