Add some logging around run and run_remote
This commit is contained in:
parent
fbad4c749d
commit
d750169f6e
|
@ -1,7 +1,7 @@
|
||||||
require 'log4r'
|
require 'log4r'
|
||||||
require "vagrant/util/subprocess"
|
require "vagrant/util/subprocess"
|
||||||
|
|
||||||
require 'pry'
|
#require 'pry'
|
||||||
|
|
||||||
module Vagrant
|
module Vagrant
|
||||||
module Plugin
|
module Plugin
|
||||||
|
@ -148,6 +148,7 @@ module Vagrant
|
||||||
if on_error == :halt
|
if on_error == :halt
|
||||||
raise Error
|
raise Error
|
||||||
end
|
end
|
||||||
|
@logger.debug("Trigger run encountered an error. Continuing on anyway...")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -163,6 +164,7 @@ module Vagrant
|
||||||
if on_error == :halt
|
if on_error == :halt
|
||||||
raise Error
|
raise Error
|
||||||
end
|
end
|
||||||
|
@logger.debug("Trigger run_remote encountered an error. Continuing on anyway...")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue