On Thu, Jul 17, 2008 at 5:22 AM, Andrew Backer <[EMAIL PROTECTED]> wrote:
> How do I set up symfony to display a custom page an sfException is thrown, > and the app is in production mode? At least, you can customize your 500 error page by just creating a web/errors/error500.php standard PHP script in your project. But you won't be able to catch the exception which caused the error here :-/ You could also use a filter to catch every targeted exceptions (always avoid to catch Exception by default, some are used by symfony itself to redirect requests) and do something useful with them. ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
