1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

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

View File

@ -35,8 +35,9 @@ public List<PlexDirectory> GetTvSections(PlexServerSettings settings)
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