Sunday, 5 January 2020

How to display assert errors in Laravel?

I'd like my Laravel app to output assert errors in the browser during development. Although I have put some asserts in my Laravel code that should definitely fail, I never see any errors outputted in the browser?

Is there a assert reporting configuration in Laravel that can force these errors to display?

In production, I would like the assert failures to call a callback method and email me the error.



from How to display assert errors in Laravel?

No comments:

Post a Comment