vagrant-vsphere icon indicating copy to clipboard operation
vagrant-vsphere copied to clipboard

Preserve backtraces when re-raising errors

Open Sharpie opened this issue 5 years ago • 1 comments

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 avatar Aug 11 '19 19:08 Sharpie

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

Sharpie avatar Aug 11 '19 19:08 Sharpie