-
Notifications
You must be signed in to change notification settings - Fork 1
Environment
kaythinks edited this page May 31, 2020
·
1 revision
The framework has an environment constant that is defined in the Env file.const ENVIRONMENT = "testing";
It can be set to "production" or "testing". Setting the environment variable to "production" ensures the framework doesn't output errors to the user's screen even if an error was triggered. Setting it to "testing" ensures errors are outputted to ensure they can be debugged while developing.
Made with love in Naija