Log Plex sections response before checking for error

This commit is contained in:
Mark McDowall 2014-12-22 20:10:54 -08:00
parent e79a2c742a
commit ec774ccdb5
1 changed files with 2 additions and 1 deletions

View File

@ -35,8 +35,9 @@ namespace NzbDrone.Core.Notifications.Plex
var response = client.Execute(request);
_logger.Trace("Sections response: {0}", response.Content);
CheckForError(response.Content);
_logger.Debug("Sections response: {0}", response.Content);
return Json.Deserialize<PlexMediaContainer>(response.Content)
.Directories