I've created a \App\Resources\TwigBundle\views\Exception\error404.html.twig custom page which works fine. But when i call an invalid url (no route found) it throws an NotFoundHttpException and then shows a blank page. In debug mode it shows a 404 error but my custom 404-error page is not called.
Is this a bug?
I am using Symfony 2.1 RC1 (converted my code from Symfony 2.0 to 2.1)!