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:
parent
815041ff20
commit
712a50ca27
|
@ -100,7 +100,7 @@ class VMBuilder(object):
|
||||||
log_err(None, msg)
|
log_err(None, msg)
|
||||||
|
|
||||||
def fail(self, msg, exception=ProvisioningError):
|
def fail(self, msg, exception=ProvisioningError):
|
||||||
fail(None, msg, exception=exception)
|
raise exception(msg)
|
||||||
|
|
||||||
#
|
#
|
||||||
# Primary class functions; implemented by the individual scripts
|
# Primary class functions; implemented by the individual scripts
|
||||||
|
|
Loading…
Reference in New Issue