Added some logging and error handling to XbmcProvider.

Increased Json timeout to 20 seconds.
This commit is contained in:
Mark McDowall 2012-01-05 22:29:02 -08:00
commit a3f2ef6ec6
2 changed files with 12 additions and 4 deletions

View file

@ -89,7 +89,7 @@ namespace NzbDrone.Core.Providers.Core
request.Method = "POST";
request.Credentials = new NetworkCredential(username, password);
request.ContentType = "application/json";
request.Timeout = 10000;
request.Timeout = 20000;
request.KeepAlive = false;
//Used to hold the JSON response