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