From 5f0657a30ce12d858d5d5f955cbd917e0cd1f446 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 7 Mar 2024 22:29:04 +0000 Subject: [PATCH] Don't show the body in the log --- src/Protocol/ActivityPub/Processor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Protocol/ActivityPub/Processor.php b/src/Protocol/ActivityPub/Processor.php index 040634bb75..a22be1c5bc 100644 --- a/src/Protocol/ActivityPub/Processor.php +++ b/src/Protocol/ActivityPub/Processor.php @@ -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 ''; }