Fixed: Error handling of valid, empty responses from Plex Media Server

This commit is contained in:
Mark McDowall 2016-12-06 09:11:50 -08:00
parent 3d20fd8f96
commit 52ad8cf37f
1 changed files with 1 additions and 0 deletions

View File

@ -243,6 +243,7 @@ namespace NzbDrone.Core.Notifications.Plex
if (response.Content.IsNullOrWhiteSpace()) if (response.Content.IsNullOrWhiteSpace())
{ {
_logger.Trace("No response body returned, no error detected"); _logger.Trace("No response body returned, no error detected");
return;
} }
var error = response.Content.Contains("_children") ? var error = response.Content.Contains("_children") ?