mercredi 23 septembre 2015

Laravel artisan command returns HTML on exception, how to change this format?

If there's an exception using a sample command:

php artisan migrate:rollback

I get "Whoops, looks like something went wrong." message in my console with all HTML around it. On tutorial videos I saw that it returned messages in more readable format(JSON?).

In my .env file I have:

APP_ENV=local
APP_DEBUG=true

config/app.php:

'debug' => env('APP_DEBUG', true),

How to I change exception/error message format in console from HTML to some formatted output?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire