I am using the Doctrine dbal service in my Symfony2 application.
I am querying a nonexistent table that causes an error:
SQLSTATE [42S02]: The base table or view was not found: 1146 The table "log.requests_20130311" does not exist.
Symfony2 catches this sooner than I can, even in a try-catch . I do not want this to kill my application. How can I handle this?
source share