mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-17 15:02:34 +02: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.StatusCode.Should().Be(statusCode);
|
||||
response.StatusCode.Should().Be(statusCode, response.Content ?? string.Empty);
|
||||
|
||||
return response.Content;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user