Don't show the body in the log
authorMichael <heluecht@pirati.ca>
Thu, 7 Mar 2024 22:29:04 +0000 (22:29 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 7 Mar 2024 22:29:04 +0000 (22:29 +0000)
src/Protocol/ActivityPub/Processor.php

index 040634b..a22be1c 100644 (file)
@@ -1610,7 +1610,7 @@ class Processor
                }
 
                if (empty($object) || !is_array($object)) {
-                       Logger::notice('Invalid JSON data', ['url' => $url, 'content-type' => $curlResult->getContentType(), 'body' => $body]);
+                       Logger::notice('Invalid JSON data', ['url' => $url, 'content-type' => $curlResult->getContentType()]);
                        return '';
                }