On Jan 8, 2006, at 12:46 PM, Leandro Lucarella wrote:
Marek Baczynski, el domingo 8 de enero a las 12:24 me escribiste:
Cliff Wells napisal(a):
*Much* easier to track down. I think a couple hours with grep
searching for exception blocks and adding some code to print/log/
save
the traceback would go a long way to making debugging apps
easier. Of
course, if you do much more than printing the exception, great
care must
be taken that *that* code doesn't raise an exception itself ;-)
When I was playing with Twisted and Nevow, I absolutely fell in love
how good the exception reporting was. Tracebacks (when allowed)
showed
not only the whole exception stack, but also (IIRC) several lines of
context, all that with pretty html formatting. Soooo nice.
They probably use cgitb[1] from standard python distribution. It
could be
nice to integrate it to TG too...
What we should do is this:
http://blog.ianbicking.org/ajaxy-exception-catching.html
-bob