diff --git a/api-daemon/pvcapid/vmbuilder.py b/api-daemon/pvcapid/vmbuilder.py index a5f0de8e..b6d58d7e 100755 --- a/api-daemon/pvcapid/vmbuilder.py +++ b/api-daemon/pvcapid/vmbuilder.py @@ -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