While I think I understand the overall concept of exception/error handling in 
TurboGears,
I can't get it working in my example ( http://paste.turbogears.org/paste/1734 ) 
which I
derived from the official documentation ( 
http://docs.turbogears.org/1.0/ErrorHandling ).
I'm using Python 2.4 on CentOS 5 with TurboGears 1.0.4-pre.

I short the error handler catches a validation error but when an exception 
occurs inside
the error handling function, the attached exception handler does not work.

In my example (see paste'd code), go to "http://localhost:8080/save/as";.
Result: Exception is not catched.

Please note that the "simple" case works: If you call
"http://localhost:8080/handle_bad_numbers";, the exception handler shows its 
output.
Therefore I think I got the basics right but lacking some background 
information.


Any help appreciated.
fs


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to