1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-11-06 09:19:38 +02:00

Fixed WithData sample length not using parameter.

This commit is contained in:
Taloth Saldono
2018-06-08 22:08:09 +02:00
parent 2ed5abf4d3
commit fde0409650

View File

@@ -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)
{