Ad

HTTPException In Laravel Artisan Route List

I am having a problem that running php artisan route:list is throwing a Symfony\Component\HttpKernel\Exception\HttpException but it is not giving me any other output or logging it anywhere I can see.

I have tried composer update and dump-autoload as well as refreshing the route cache, debug is also set to true. How can I get more information about the HttpException that is being thrown?

Ad

Answer

I found that you can run the route:list command with the -verbose flag which outputs the full error stack.

php artisan -v route:list

From this I then found my errors, good luck!

Ad
source: stackoverflow.com
Ad