On Tue, Oct 18, 2011 at 12:23 PM, Prasad, Ramit
wrote:
> Yes, but raising the CustomException replaces the last traceback and even
> with the saved exception, how would you get the original stacktrace? The only
> thing I can think is get the stacktrace and store it in the exception. That
> does
-Original Message-
From: python-list-bounces+ramit.prasad=jpmorgan@python.org
[mailto:python-list-bounces+ramit.prasad=jpmorgan@python.org] On Behalf Of
MRAB
Sent: Friday, October 14, 2011 5:50 PM
To: python-list@python.org
Subject: Re: Re-raise different exception with original
On 14/10/2011 22:30, Prasad, Ramit wrote:
Hi all,
Hopefully you guys can help me with my problem.
Basically I have a UI program that can "save" information. The UI passes the
save to the controller and the controller saves a file and does some post processing. If
saving the file fails, I want