Catch DBALException and throw Twig_Error_Loader when loading template source