1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-02-22 22:10:35 +00: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