error_and_exit now uses `abort`, which prints to stdout before exiting
This commit is contained in:
parent
20ed284372
commit
b4e25143dc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue