Avoid use of fail here

It causes a reraise with a bunch of extra entries that we don't need.
This commit is contained in:
Joshua Boniface 2023-11-16 18:22:59 -05:00
parent 815041ff20
commit 712a50ca27
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ class VMBuilder(object):
log_err(None, msg)
def fail(self, msg, exception=ProvisioningError):
fail(None, msg, exception=exception)
raise exception(msg)
#
# Primary class functions; implemented by the individual scripts