I integrated Yii 2 into an old app. This old app has a bunch of warning and notices that I am working on fixing, however, for now I want to log these errors but I don’t want to display them on the screen and stop the page from loading.
The app used to do this before I added Yii 2 to it. Once I added Yii 2 it is reporting all errors on screen.
Anyone know how I can log errors (I’m using sentry), and continue executing code when it’s just warnings and notices?