Skip to content

Commit 4ab28c9

Browse files
committed
feature #431 Show better message when SQLite is not enabled (uikolas)
This PR was squashed before being merged into the master branch (closes #431). Discussion ---------- Show better message when SQLite is not enabled As mentioned in #423 I added to show better error message in the browser, if SQLite is not enabled. (I think that message should contain about sqllite3 and pdo_sqlite to enable) But i have have doubts, how to show it? As a exception or simple text response? ![error image](http://i.imgur.com/pHW8QQH.png) Commits ------- ee8099c Show better message when SQLite is not enabled
2 parents 2c196e0 + ee8099c commit 4ab28c9

File tree

4 files changed

+111
-52
lines changed

4 files changed

+111
-52
lines changed

app/config/services.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ services:
5353
# the list of events listened by that class.
5454
# See http://symfony.com/doc/current/event_dispatcher.html#creating-an-event-subscriber
5555
app.console_subscriber:
56-
class: AppBundle\EventListener\ConsoleEventSubscriber
56+
class: AppBundle\EventListener\CheckSQLiteEventSubscriber
57+
arguments: ['@doctrine.orm.entity_manager']
5758
tags:
5859
- { name: kernel.event_subscriber }
5960

0 commit comments

Comments
 (0)