From 0441ce58e016894a609d7283ad9c2e05d2f2ca3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Mon, 20 Nov 2023 09:16:41 +0000 Subject: [PATCH] Re-add log trace --- app/http.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/http.php b/app/http.php index aa9e5e0..24aae79 100644 --- a/app/http.php +++ b/app/http.php @@ -164,8 +164,7 @@ function logError(Log $log, Throwable $error, string $action, Logger $logger = n $log->addExtra('file', $error->getFile()); $log->addExtra('line', $error->getLine()); $log->addExtra('trace', $error->getTraceAsString()); - // TODO: @Meldiron Uncomment, was warning: Undefined array key "file" in Sentry.php on line 68 - // $log->addExtra('detailedTrace', $error->getTrace()); + $log->addExtra('detailedTrace', $error->getTrace()); $log->setAction($action);