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
What are common http error codes?
How to work with Database in Laravel ?
How to remove a complied class file?
What route model binding?
How to use delete statement in laravel?
What do you mean by make() method?
What are the default ports that are forwarded to your homestead environment?
What is meant by check method ?
Is laravel based on symfony?
What do you know about service providers in laravel?
What is namespace in laravel?
How do I make a middleware to be run during every http request to an application?
How to get/set configuration values in laravel?
What is the command to connect vagrant via ssh?
What are service providers in laravel?