VAGRANT_DEBUG env variable is required to be set for stacktraces to show up from binary

This commit is contained in:
Mitchell Hashimoto 2010-08-24 17:16:45 -07:00
parent 127c2a426f
commit 82ee787229
1 changed files with 1 additions and 1 deletions

View File

@ -8,6 +8,6 @@ begin
Vagrant::CLI.start(ARGV, :env => env)
rescue Vagrant::VagrantError => e
env.ui.error e.message
env.ui.error e.backtrace.join("\n")
env.ui.error e.backtrace.join("\n") if ENV["VAGRANT_DEBUG"]
exit e.status_code
end