-
Notifications
You must be signed in to change notification settings - Fork 39
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
Improve error reporting when the database string is unparsable. #2914
Comments
Thanks @jlfranklin! I tested this out and it helps a lot! I found two additional errors occur when the |
Merged backdrop/backdrop#2053 into 1.x and 1.8.x. Thanks @jlfranklin for working to improve our bootstrap systems! |
Describe your issue or idea
Under certain conditions, the database string is unparsable and the system returns a cryptic error, such as
Fatal error: Class 'DatabaseTasks_' not found in...
. Instead of a PHP compilation error, it should say something like this:Steps to reproduce (if reporting a bug)
Trigger the bug mentioned in #2231.
Actual behavior (if reporting a bug)
Errors that make sense if you're a core developer, and no sense at all if you're a rookie site builder.
Expected behavior (if reporting a bug)
An error message with enough information for the user to take action.
Relevant version/system information (if applicable)
1.x
The text was updated successfully, but these errors were encountered: