Hello,

I'm catching exceptions raised in my winforms thread using

           def exceptionHandler(sender, event):
               print event.Exception

           Application.ThreadException +=
ThreadExceptionEventHandler(exceptionHandler)
           Application.SetUnhandledExceptionMode(
UnhandledExceptionMode.CatchException)

However the exception I get, contains the long, unintuitive stack trace. How
can I convert it to a nice Python exception ?

Regards,
Laurent Debacker.
_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to