-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Labels
EnhancementFor new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.Help wantedBeginner friendly issues or issues where we'd highly appreciate community's help and involvement.Beginner friendly issues or issues where we'd highly appreciate community's help and involvement.
Milestone
Description
Seeing thousands of these logs on our cloud:
ERROR Piwik\ExceptionHandler[2021-07-05 23:57:59 UTC] [52b29 demo-proxy.innocraft.cloud] /core/SupportedBrowser.php(68):
Your browser is not supported.
Due to security issues your browser is not supported. Please upgrade to a newer version.
#0 /core/SupportedBrowser.php(54): Piwik\SupportedBrowser::throwException() #1 /core/FrontController.php(423): Piwik\SupportedBrowser::checkIfBrowserSupported() #2 /core/dispatch.php(31): Piwik\FrontController->init() #3 /index.php(25): require_once('/c...') #4 {main} | ERROR Piwik\ExceptionHandler[2021-07-05 23:57:59 UTC] [52b29 demo-proxy.innocraft.cloud] /core/SupportedBrowser.php(68):Your browser is not supported.
Due to security issues your browser is not supported. Please upgrade to a newer version.
#0 /core/SupportedBrowser.php(54): Piwik\SupportedBrowser::throwException() #1 /core/FrontController.php(423): Piwik\SupportedBrowser::checkIfBrowserSupported() #2 /core/dispatch.php(31): Piwik\FrontController->init() #3 /index.php(25): require_once('/c...') #4 {main}
This may be caused for example by our monitoring tools or so. Could we adjust the logic to not log such an error when this exception happens?
I suppose we can catch NotSupportedBrowserException
and make it not log. I'm thinking this would need to be done in ExceptionHandler::dieWithHtmlErrorPage()
.
Metadata
Metadata
Assignees
Labels
EnhancementFor new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.Help wantedBeginner friendly issues or issues where we'd highly appreciate community's help and involvement.Beginner friendly issues or issues where we'd highly appreciate community's help and involvement.