From 4232dcd44616c36b6bc647336a035d5b1f1eaa6a Mon Sep 17 00:00:00 2001 From: Akhil Date: Tue, 15 Sep 2026 14:21:23 +0530 Subject: [PATCH] fix: cleanup context before normalizing Signed-off-by: Akhil --- lib/private/Log.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/private/Log.php b/lib/private/Log.php index 96703adfb8d07..75c6811f99979 100644 --- a/lib/private/Log.php +++ b/lib/private/Log.php @@ -341,6 +341,8 @@ public function logException(Throwable $exception, array $context = []): void { return; } + unset($context['exception']); + $context = array_map($this->normalizer->format(...), $context); $data = $context; unset($data['app'], $data['level']);