mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
webclient: debug logging. some json starts with [ #8529
This commit is contained in:
@@ -174,7 +174,7 @@ namespace Jackett.Common.Utils.Clients
|
|||||||
{
|
{
|
||||||
bodySize = result.ContentBytes.Length;
|
bodySize = result.ContentBytes.Length;
|
||||||
var contentString = result.ContentString.Trim();
|
var contentString = result.ContentString.Trim();
|
||||||
if (contentString.StartsWith("<") || contentString.StartsWith("{"))
|
if (contentString.StartsWith("<") || contentString.StartsWith("{") || contentString.StartsWith("["))
|
||||||
body = "\n" + contentString;
|
body = "\n" + contentString;
|
||||||
else
|
else
|
||||||
body = " <BINARY>";
|
body = " <BINARY>";
|
||||||
|
Reference in New Issue
Block a user