Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to work with an Error in Laravel ?

Answer Posted / rishabh khanna

Errors and exception handling is already configured for you when you start a new Laravel project.
Normally, in a local environment we need to see errors for debugging purposes.
We need to hide these errors from users in production environment.
This can be achieved with the variable APP_DEBUG set in the environment file .env stored at the root of the application.


Note - After changing the APP_DEBUG variable, you should restart the Laravel server.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where do you regiser service providers?

744


Explain how to add csrf protection in laravel?

759


What is service container in laravel?

766


What are the types of service providers?

711


Differce between contracts and facades?

774


Explain how to bind a service container to a service provide?

797


How to create a controller in laravel?

804


List the software’s included in laravel homestead?

744


What are the Writing Gates and Policies ?

1691


What is a laravel collection?

843


Explain the directory structure of laravel 5.6.

729


What is homestead.yaml?

764


List out the databases laravel supports?

785


What is uri in laravel?

778


How do you call artisan command in laravel?

831