I have a python function that may raise an exception. The caller catches the exception and deals with it. Now I would like to add a decorator to that function that also<
Just use raise; (i.e. do not raise anything specific, just raise;) in a catch block to re-raise the exception without "resetting" the traceback.
raise;
catch