commit | bfeb282359324993272a6c6fe88a7117603dd213 | [log] [tgz] |
---|---|---|
author | Attila Fazekas <afazekas@redhat.com> | Wed Apr 09 11:24:33 2014 +0200 |
committer | Attila Fazekas <afazekas@redhat.com> | Wed Apr 09 11:31:19 2014 +0200 |
tree | 27fabe254e4d80c8f80738e4e46b5eec0e527df3 | |
parent | ca19315fe86802e6f5f5ac220aef36abc87b81a6 [diff] |
safe_setup preserve original trace When safe_setup reraies the exception the traceback was replaced by the trace of the re-raise postion. This change is aiming to preserve the original stack trace, by saving the original trace and raiseing new exception from the same type with the original trace. Change-Id: I16851a0c1d40d7f7253c23f066fa8c19267f4d9a