diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-09-03 09:24:34 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-09-03 09:24:34 +0200 |
commit | 001a7bad66fd1ce2b208abfe89177e72b5e1baa5 (patch) | |
tree | f95e1eb0520067393309eec0f6d7b6ddc2d89a90 /src/Wallabag/UserBundle/DataFixtures/ORM | |
parent | 985f5f9d05f7ff7e443442b1775923b379c141d6 (diff) | |
download | wallabag-001a7bad66fd1ce2b208abfe89177e72b5e1baa5.tar.gz wallabag-001a7bad66fd1ce2b208abfe89177e72b5e1baa5.tar.zst wallabag-001a7bad66fd1ce2b208abfe89177e72b5e1baa5.zip |
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
Diffstat (limited to 'src/Wallabag/UserBundle/DataFixtures/ORM')
0 files changed, 0 insertions, 0 deletions