1
0
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:
Taloth Saldono 2020-06-01 15:01:40 +02:00 committed by Qstick
parent 4b25ef6deb
commit 021e7b8163

View File

@ -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;
} }