From d750169f6ea9c8cec6f4c252220bf05f02ab36dd Mon Sep 17 00:00:00 2001 From: Brian Cain Date: Thu, 29 Mar 2018 12:08:04 -0700 Subject: [PATCH] Add some logging around run and run_remote --- lib/vagrant/plugin/v2/trigger.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/vagrant/plugin/v2/trigger.rb b/lib/vagrant/plugin/v2/trigger.rb index 4dcb1604e..5aaa14704 100644 --- a/lib/vagrant/plugin/v2/trigger.rb +++ b/lib/vagrant/plugin/v2/trigger.rb @@ -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