You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @ulcuber
Thanks for the suggestions. In general I would agree that it might be nice to have a possibility to configure this. But actually that would only help for development. This couldn't be turned on in productive mode, as our code base is quite old and there might be some notices that had been "ignored" on purpose. We are always trying to fix those when we see them, but I'm not able to say if stopping the executing for notices might not even break some parts of Matomo.
Personally I'm always having a log tail running while developing, so I'm able to see if a notice occurs somewhere.
Summary
Currently
Notice - Undefined index
does not stop execution but it could lead to bugs silently logging such cases.For example, laravel do not logs validation/authorization exceptions using
internalDontReport
:https://github.com/laravel/framework/blob/9.x/src/Illuminate/Foundation/Exceptions/Handler.php
The text was updated successfully, but these errors were encountered: