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
How to register a middlewares in laravel controller?
What is controller in laravel?
In which directory controllers are kept in laravel?
What is guarded attribute in a model?
When laravel was launched?
What are view creators?
How to pass custom table name in model?
How to install laravel?
How do you call artisan command in laravel?
List out some artisan commands?
What is eloquent model?
What is isset function?
Explain the events in laravel?
How to Accessing Session Data in Laravel ?
What is a Laravel - Authentication ?