Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catch fatal errors and display them nicely #3

Open
ocean90 opened this issue Mar 29, 2019 · 0 comments
Open

Catch fatal errors and display them nicely #3

ocean90 opened this issue Mar 29, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@ocean90
Copy link
Member

ocean90 commented Mar 29, 2019

If the .env file was not found or a constant is missing you currently get the plain fatal error with the debug stack.

image

We should catch them and show only the message similar to wp_die().

@ocean90 ocean90 added the enhancement New feature or request label Mar 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant