diff --git a/application/Espo/Core/Api/ErrorOutput.php b/application/Espo/Core/Api/ErrorOutput.php index 0583f61b62..e438fb24db 100644 --- a/application/Espo/Core/Api/ErrorOutput.php +++ b/application/Espo/Core/Api/ErrorOutput.php @@ -97,13 +97,12 @@ class ErrorOutput $this->processInternal($request, $response, $exception, $route, true); } - public function processInternal( + private function processInternal( Request $request, Response $response, Throwable $exception, ?string $route = null, bool $toPrintBody = false - ): void { $message = $exception->getMessage() ?? '';