From: David C. <da...@ne...> - 2002-04-24 02:02:21
|
Hi, I have a PSP file with a snip of code like this in it -- try: contact_id = c.commit_new() except ValueError: res.write( "<h1> Error captured </h1>") -- The problem is that the exception is not captured by that try...except block. Instead, the exception is captured by Webkit itself, which dutifully generates an error page, shows me the traceback, and prints the ValueError. Is it possible to catch exceptions with PSPs? If not, how about servlets? Thanks, David. ------------------------------------------------------------------ David Casti Managing Partner Neosynapse www.neosynapse.net |