Re-throwing an exception without loosing the stack trace
Michael Ströder
michael at stroeder.com
Tue Feb 12 20:04:22 EST 2002
Chris Liechti wrote:
>
> "Clark C . Evans" <cce at clarkevans.com> wrote in
> news:mailman.1013552683.30067.python-list at python.org:
>
> > How do I catch and then re-throw an exception without
> > loosing the information about the stack trace? I've
> > looked around alot and don't see the "obvious" answer.
>
> try a simple, naked "raise" ;-)
Is that thread-safe?
Ciao, Michael.
More information about the Python-list
mailing list