]> git.immae.eu Git - github/wallabag/wallabag.git/commit
Add a check for the database connection
authorJeremy Benoist <jeremy.benoist@gmail.com>
Sat, 3 Sep 2016 07:24:34 +0000 (09:24 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Sat, 3 Sep 2016 07:24:34 +0000 (09:24 +0200)
commit001a7bad66fd1ce2b208abfe89177e72b5e1baa5
treef95e1eb0520067393309eec0f6d7b6ddc2d89a90
parent985f5f9d05f7ff7e443442b1775923b379c141d6
Add a check for the database connection

Checking for the driver isn't enough.
We are now checking if we can etablish a connection to the database before trying to do anything.
By displaying the error from the Exception (in case of error) we hope to reduce issues overload about people getting error with the database
src/Wallabag/CoreBundle/Command/InstallCommand.php