You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know now why I did that:
The connection to the database is called very early in the services.php file.
If I generate an exception for the DB connection, it is no longer possible to access the administration part, which is problematic to correct the error, or to visualize the logs.
I will fix and throw an exception in the connect method of DataBase.
It will now be necessary to do a try/catch on the connection in services.php
Steps
Simply setup a project with a database name that doesn't exist.
Expected Result
An exception be thrown.
Actual Result
A message gets echo'ed and program continues. (See \Ubiquity\db\Database::connect)
Versions
The text was updated successfully, but these errors were encountered: