In my Symfony2 project I\'m getting at development mode correct 404 Exception screen. But I\'m getting blank screen with HTTP status code 500 instead of 404 at production mo
I encounteres that Symofny 3 throws an 500 error in production when you do not use
$this->createNotFoundException()
in your Controller.
throw Exception('message', 404)
works on dev-enviroment, but not on production.