error_and_exit now uses `abort`, which prints to stdout before exiting

This commit is contained in:
Mitchell Hashimoto 2010-03-04 21:05:43 -08:00
parent 20ed284372
commit b4e25143dc
1 changed files with 2 additions and 3 deletions

View File

@ -5,14 +5,13 @@ module Vagrant
end
def error_and_exit(error)
puts <<-error
abort <<-error
=====================================================================
Vagrant experienced an error!
#{error.chomp}
=====================================================================
error
exit
end
def logger