What message?
Many ways, the easiest way is to add errorXXX.html.twig (replace XXX with status codes like error500.html.twig, error404.html.twig) to app/Resources/TwigBundle/views/Exception dir This will only replace standard error pages of production env, dev env would still show default error page (with whole stack trace of course)
Обсуждают сегодня