From b4e25143dcbe6f17810d2bbd7e2f0fd00de48cb2 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 4 Mar 2010 21:05:43 -0800 Subject: [PATCH] error_and_exit now uses `abort`, which prints to stdout before exiting --- lib/vagrant/util.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/vagrant/util.rb b/lib/vagrant/util.rb index d62f8505b..6db652c5d 100644 --- a/lib/vagrant/util.rb +++ b/lib/vagrant/util.rb @@ -3,16 +3,15 @@ module Vagrant def self.included(base) base.extend Vagrant::Util end - + def error_and_exit(error) - puts <<-error + abort <<-error ===================================================================== Vagrant experienced an error! #{error.chomp} ===================================================================== error - exit end def logger