From 0e88594967cd9a444b5e5dc0a71f05b97a9f5106 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Andr=C3=A9?= Date: Wed, 23 Sep 2015 22:17:40 +0900 Subject: [PATCH] Fix uninitialized constant DestroyNetworkError This was caused by a typo in the class name. --- lib/vagrant-libvirt/action/destroy_networks.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant-libvirt/action/destroy_networks.rb b/lib/vagrant-libvirt/action/destroy_networks.rb index c571c4b..2f9852e 100644 --- a/lib/vagrant-libvirt/action/destroy_networks.rb +++ b/lib/vagrant-libvirt/action/destroy_networks.rb @@ -66,7 +66,7 @@ module VagrantPlugins libvirt_network.undefine @logger.info "Undefined it" rescue => e - raise Error::DestroyNetworkError, + raise Errors::DestroyNetworkError, network_name: libvirt_network.name, error_message: e.message end