mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-06-11 01:30:03 -04:00
core: log when OUT actions are called in middleware
This commit is contained in:
parent
07982efde2
commit
5054ae95fd
1 changed files with 2 additions and 1 deletions
|
|
@ -30,9 +30,10 @@ module Vagrant
|
|||
# of "recoverable" middlewares in case something goes wrong!
|
||||
raise Errors::VagrantInterrupt if env[:interrupted]
|
||||
action = @actions.shift
|
||||
@logger.info("Calling action: #{action}")
|
||||
@logger.info("Calling IN action: #{action}")
|
||||
@stack.unshift(action).first.call(env)
|
||||
raise Errors::VagrantInterrupt if env[:interrupted]
|
||||
@logger.info("Calling OUT action: #{action}")
|
||||
rescue SystemExit
|
||||
# This means that an "exit" or "abort" was called. In these cases,
|
||||
# we just exit immediately.
|
||||
|
|
|
|||
Loading…
Reference in a new issue