MDL-86866 core: Do not log route errors
Doing so leads to excessive noise in logs and unit tests. At the moment we have no way to control these logs. This will change when we bring in a PSR-4 logger and can use that instead, but at the moment we do not have any such logger in core.
This commit is contained in:
@@ -210,8 +210,8 @@ class router {
|
||||
$this->app->getCallableResolver(),
|
||||
$this->app->getResponseFactory(),
|
||||
displayErrorDetails: $displayerrordetails,
|
||||
logErrors: true,
|
||||
logErrorDetails: true,
|
||||
logErrors: false,
|
||||
logErrorDetails: false,
|
||||
);
|
||||
|
||||
// Set a custom error handler for the HttpNotFoundException and HttpForbiddenException.
|
||||
|
||||
Reference in New Issue
Block a user