bmuschko / gradle-vagrant-plugin

Gradle plugin for managing Vagrant boxes.
Apache License 2.0
48 stars 11 forks source link

Enhancement request: failed vagrant commands #9

Open chefhoobajoob opened 8 years ago

chefhoobajoob commented 8 years ago

Would it be possible to surface the actual error from vagrant when commands fail for Vagrant task types?

At the moment, I'm running gradle with the --debug flag to see what's going wrong, but it would be nice not to have to do that.

bmuschko commented 8 years ago

I guess that would be possible. If an error occurs, we throw a GradleException. In those cases we should also print out the error text. Feel free to provide a pull request if you'd like to see this.