Hi, At the moment, you'd need to define _cp_onerror (or is it _cp_on_error?) which is a general exception handler. Template rendering exceptions probably should go through the exception handling machinery of TG, but they're in a different part of the code. This can likely be fixed more easily in TG 1.1.
Kevin On Sep 14, 2006, at 12:11 AM, Andre wrote: > > Hi, > > I'm trying to figure out how to catch exceptions that are caused in a > template file. Ideally this wouldn't ever occur, but I wanted to know > if it was possible. I have @exception_handler()'s around the method > that is returning the dict to the template, but this isn't working. > I'm > assuming there needs to be an exception_handler around whatever my > method is returning the dict to... ? > > Any suggestions? > Andre > > > > -- Kevin Dangoor TurboGears / Zesty News email: [EMAIL PROTECTED] company: http://www.BlazingThings.com blog: http://www.BlueSkyOnMars.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears -~----------~----~----~----~------~----~------~--~---

