mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-14 11:23:42 +02:00
Log contents on api errors during tests.
This commit is contained in:
parent
1e80361c3a
commit
f2e1b4e435
@ -56,7 +56,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