mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
Fix error output on failure
This commit is contained in:
parent
199c4b1d01
commit
cfde89b867
1 changed files with 1 additions and 1 deletions
|
|
@ -251,7 +251,7 @@ rescue Exception => e
|
|||
|
||||
if env
|
||||
opts = { prefix: false }
|
||||
env.ui.error e.message, opts if e.message
|
||||
env.ui.error(e.message, **opts) if e.message
|
||||
env.ui.machine("error-exit", e.class.to_s, e.message.to_s)
|
||||
else
|
||||
$stderr.puts "Vagrant failed to initialize at a very early stage:\n\n"
|
||||
|
|
|
|||
Loading…
Reference in a new issue