nsidc / vagrant-vsphere

VMware vSphere provider for Vagrant
Other
608 stars 166 forks source link

Preserve backtraces when re-raising errors #284

Open Sharpie opened 5 years ago

Sharpie commented 5 years ago

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 commented 5 years ago

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