From 93af398f9e92f7b44ed4b0bfabef1c88a19868c9 Mon Sep 17 00:00:00 2001 From: Brian Cain Date: Thu, 29 Mar 2018 10:54:49 -0700 Subject: [PATCH] Update params for NoStageGiven error --- lib/vagrant/plugin/v2/trigger.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/vagrant/plugin/v2/trigger.rb b/lib/vagrant/plugin/v2/trigger.rb index 45b611a51..83dd075b7 100644 --- a/lib/vagrant/plugin/v2/trigger.rb +++ b/lib/vagrant/plugin/v2/trigger.rb @@ -39,7 +39,10 @@ module Vagrant # raise error, stage was not given # This is an internal error # TODO: Make sure this error exist - raise Errors::Triggers::NoStageGiven + raise Errors::Triggers::NoStageGiven, + action: action, + stage: stage, + guest_name: guest_name end triggers = filter_triggers(triggers, guest_name)