24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# File 'lib/vagrant/action/warden.rb', line 24
def call(env)
return if @actions.empty?
begin
raise Errors::VagrantInterrupt if env[:interrupted]
action = @actions.shift
@logger.info("Calling action: #{action}")
@stack.unshift(action).first.call(env)
raise Errors::VagrantInterrupt if env[:interrupted]
rescue SystemExit
raise
rescue Exception => e
@logger.error("Error occurred: #{e}")
env["vagrant.error"] = e
begin_rescue(env)
raise
end
end
|