Cliff Wells wrote: > On Tue, 2007-05-15 at 17:34 +0000, __wyatt wrote: >> On May 15, 12:56 am, voltron <[EMAIL PROTECTED]> wrote: >>> Hi all >>> >>> I have taken the advice from this forum and have installed nginx as a >>> proxy to the paster server. this works well, but I´m really, really >>> worried about using the Paster server in a production site, for >>> example, when testing a Mako template, the server just died. Are there >>> tips out there to ensure stability? Or at least to make sure that all >>> types of errors are handled gracefully? >> I'm not sure this is a Paster issue. I think any back end server will >> crash on an unhandled exception. > >> You could wrap all your render_response calls in a try/except (via a >> custom render_response method, say) and email any unexpected errors to >> yourself. Or something of that nature... > > Hm, this is what mine does already (exceptions don't crash Paster, but I > do get an email containing the exception). Perhaps this segment from > my .ini file does it? > > [DEFAULT] > debug = false > email_to = [EMAIL PROTECTED] > smtp_server = localhost > error_email_from = [EMAIL PROTECTED]
Yes, but exceptions *definitely* don't ever kill paster. Only a segfault does, because segfaults kill everything. Ian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
