Skip to content

Preserve backtraces when re-raising errors - #284

Open
Sharpie wants to merge 1 commit into
nsidc:masterfrom
Sharpie:preserve-backtrace-info
Open

Preserve backtraces when re-raising errors#284
Sharpie wants to merge 1 commit into
nsidc:masterfrom
Sharpie:preserve-backtrace-info

Conversation

@Sharpie

@Sharpie Sharpie commented Aug 11, 2019

Copy link
Copy Markdown
Contributor

This commit updates locations where StandardError instances are rescued
and re-raised as VSphereError to preserve the backtrace info of the
original errors along with the message. This change makes debugging
easier as the backtrace leads to the location where the error originated
instead of the rescue block where it was re-raised.

This commit updates locations where StandardError instances are rescued
and re-raised as VSphereError to preserve the backtrace info of the
original errors along with the message. This change makes debugging
easier as the backtrace leads to the location where the error originated
instead of the rescue block where it was re-raised.
@Sharpie

Sharpie commented Aug 11, 2019

Copy link
Copy Markdown
Contributor Author

Test failures appear to be unrelated, likely fixed by PR #283.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant