Add some logging around run and run_remote

This commit is contained in:
Brian Cain 2018-03-29 12:08:04 -07:00
parent fbad4c749d
commit d750169f6e
No known key found for this signature in database
GPG Key ID: 43D51080D357A001
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
require 'log4r'
require "vagrant/util/subprocess"
require 'pry'
#require 'pry'
module Vagrant
module Plugin
@ -148,6 +148,7 @@ module Vagrant
if on_error == :halt
raise Error
end
@logger.debug("Trigger run encountered an error. Continuing on anyway...")
end
end
@ -163,6 +164,7 @@ module Vagrant
if on_error == :halt
raise Error
end
@logger.debug("Trigger run_remote encountered an error. Continuing on anyway...")
end
end
end