webclient: debug logging. some json starts with [ #8529

This commit is contained in:
Garfield69
2020-09-22 18:42:38 +12:00
parent 1169e08b30
commit 73eb8ddac0

View File

@@ -174,7 +174,7 @@ namespace Jackett.Common.Utils.Clients
{
bodySize = result.ContentBytes.Length;
var contentString = result.ContentString.Trim();
if (contentString.StartsWith("<") || contentString.StartsWith("{"))
if (contentString.StartsWith("<") || contentString.StartsWith("{") || contentString.StartsWith("["))
body = "\n" + contentString;
else
body = " <BINARY>";