Error Message Always shows 500 in production environment in Laravel 5

694 views Asked by At

Throughout my Laravel website I have been using the abort(404) helper for throwing errors in my application and showing custom error pages I have made.

Everything works fine, until I change APP_DEBUG in the .env to false when going live.

Now for every page where I had thrown say a 404 error, it shows error 500 no matter what.

0

There are 0 answers