mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-09 12:32:31 +01:00
Log contents on api errors during tests.
This commit is contained in:
parent
4b25ef6deb
commit
021e7b8163
@ -55,7 +55,7 @@ public string Execute(IRestRequest request, HttpStatusCode statusCode)
|
|||||||
|
|
||||||
response.ErrorMessage.Should().BeNullOrWhiteSpace();
|
response.ErrorMessage.Should().BeNullOrWhiteSpace();
|
||||||
|
|
||||||
response.StatusCode.Should().Be(statusCode);
|
response.StatusCode.Should().Be(statusCode, response.Content ?? string.Empty);
|
||||||
|
|
||||||
return response.Content;
|
return response.Content;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user