mirror of
https://github.com/Radarr/Radarr
synced 2026-04-20 12:03:02 +02:00
Log contents on api errors during tests.
This commit is contained in:
parent
4b25ef6deb
commit
021e7b8163
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue