azukiapp / azk

azk is a lightweight open source development environment orchestration tool. Instantly & safely run any environment on your local machine.
http://azk.io
Apache License 2.0
898 stars 63 forks source link

VM check fails when agent is down #610

Closed fearenales closed 8 years ago

fearenales commented 8 years ago

When the agent is not running, trying to check the VM status raises an exception:

$ azk vm status
azk: Error
azk:     at RequiredError.Error (<anonymous>)
azk:     at new RequiredError (azk-0.16.3 - src/cmds/vm.js:13:20)
azk:     at VM.require_running (azk-0.16.3 - src/cmds/vm.js:31:13)
azk:     at VM.action_status (azk-0.16.3 - src/cmds/vm.js:105:12)
azk:     at VM._callee$ (azk-0.16.3 - src/cmds/vm.js:46:45)
. . .