jeudi 19 octobre 2017

How can I make Laravel/Lumen print console friendly exceptions instead of HTML?

I'm using TDD to develop an API in Lumen. This means that I'm running PHPUnit in my console a lot and often getting exceptions. These are decorated with a bunch of HTML which obviously isn't very readable in the console. Is there a way to get Lumen to print console friendly exceptions when the app is run from the console?

Aucun commentaire:

Enregistrer un commentaire