Login    Register

How to view the laravel error message.

Doptor Development related discuss here.
  • Author
    Message

How to view the laravel error message.

Postby Hasan » Thu Oct 01, 2015 2:42 am

Hi,
Please let me know how to get the laravel error message page instead of your custom error page.
Thanks.
Hasan
 
Posts: 1
Joined: Thu Oct 01, 2015 2:32 am

Re: How to view the laravel error message.

Postby admin » Thu Oct 01, 2015 1:34 pm

Remove the if condition in app/Exceptions/Handler.php render method
User avatar
admin
Site Admin
 
Posts: 20
Joined: Tue Apr 15, 2014 1:39 pm

Re: How to view the laravel error message.

Postby tomdbelalh » Sun Oct 04, 2015 12:46 am

Hope following info will help many developers. As Doptor is a Laravel based CMS, we can enable error message for Laravel by editing config/app.php file. You should set the APP_DEBUG environment variable to true (while we are developing an application). In your production environment, this value should always be false.
tomdbelalh
 
Posts: 1
Joined: Sun Oct 04, 2015 12:11 am

Return to Doptor Development Forums

Who is online

Users browsing this forum: No registered users and 1 guest

cron