Added proper exception handling whenever VirtualBox installation is corrupt
This commit is contained in:
parent
c34fcc5a54
commit
865ffb9965
@ -23,7 +23,8 @@ module VagrantPlugins
|
||||
rescue Vagrant::Errors::VirtualBoxInvalidVersion,
|
||||
Vagrant::Errors::VirtualBoxNotDetected,
|
||||
Vagrant::Errors::VirtualBoxKernelModuleNotLoaded,
|
||||
Vagrant::Errors::VirtualBoxInstallIncomplete
|
||||
Vagrant::Errors::VirtualBoxInstallIncomplete,
|
||||
Vagrant::Errors::VBoxManageNotFoundError
|
||||
raise if raise_error
|
||||
return false
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user