Hello all, I have a question about handling exceptions in dtml. The usual way to do this is: <dtml-try> <some_code> <dtml-except> <some_code_in_case_of_any_exception> </dtml-try> What I want to do is let <some_code_in_case_of_any_exception> tell what the exception was. I tried <dtml-var error_type> and <dtml-var error_value> in <some_code_in_case_of_any_exception>. What I want to now is, is there a way to get an even more detailed error message at this point? Thanks in advance Sven -- Sven Rudolph, Programmierer GermanMedicalServices.de GmbH Unter den Eichen 5, 65195 Wiesbaden Tel.: 06 11 / 97 46 25 2
Hello Chris, thanks for your quick reply.
What I want to now is, is there a way to get an even more detailed error message at this point?
What kind of detail are you looking for?
I just found <dtml-var error_tb>, which shows me the traceback. That's exactely what I need. Or can I get even more information? Sven -- Sven Rudolph, Programmierer GermanMedicalServices.de GmbH Unter den Eichen 5, 65195 Wiesbaden Tel.: 06 11 / 97 46 25 2
participants (2)
-
Chris Withers -
Sven Rudolph