mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-27 18:28:19 +00:00
Fixed WithData sample length not using parameter.
This commit is contained in:
parent
2ed5abf4d3
commit
fde0409650
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ namespace NzbDrone.Common.Extensions
|
|||
{
|
||||
if (response == null || response.Content == null) return ex;
|
||||
|
||||
var contentSample = response.Content.Substring(0, Math.Min(response.Content.Length, 512));
|
||||
var contentSample = response.Content.Substring(0, Math.Min(response.Content.Length, maxSampleLength));
|
||||
|
||||
if (response.Request != null)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue