core: add more logging to check box outdated

This commit is contained in:
Mitchell Hashimoto 2014-05-07 17:21:17 -07:00
parent f309ed3103
commit d1a26bf8ca
1 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,8 @@ module Vagrant
if !env[:box_outdated_force]
if !machine.config.vm.box_check_update
@logger.debug(
"Not checking for update: no force and no update config")
return @app.call(env)
end
end
@ -25,6 +27,7 @@ module Vagrant
if !machine.box
# We don't have a box. Just ignore, we can't check for
# outdated...
@logger.warn("Not checking for update, no box")
return @app.call(env)
end