From b46fc770533efe6f441a64d6a1704e5155f6981a Mon Sep 17 00:00:00 2001 From: fogelito Date: Thu, 26 Feb 2026 13:07:44 +0200 Subject: [PATCH] paramQueries --- app/http.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/http.php b/app/http.php index 30c4a8317b..4f46a12eda 100644 --- a/app/http.php +++ b/app/http.php @@ -562,6 +562,11 @@ $http->on(Constant::EVENT_REQUEST, function (SwooleRequest $swooleRequest, Swool $log->addTag('method', $route?->getMethod() ?? $request->getMethod()); $log->addTag('url', $route?->getPath() ?? $request->getURI()); + + if (str_contains($th->getMessage(), 'FTS_TERM or FTS_NUMB')) { + $log->addTag('paramQueries', json_encode($request->getParam('queries'))); + } + $log->addTag('verboseType', get_class($th)); $log->addTag('code', $th->getCode()); // $log->addTag('projectId', $project->getId()); // TODO: Figure out how to get ProjectID, if it becomes relevant