[DAEMON-30] appcd status: Display the correct status if the daemon is not running
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Resolved |
| Resolution | Fixed |
| Resolution Date | 2016-10-26T23:21:39.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Appc Daemon 1.0.0 |
| Components | appcd-core |
| Labels | n/a |
| Reporter | Chris Barber |
| Assignee | Chris Barber |
| Created | 2016-10-21T22:47:16.000+0000 |
| Updated | 2016-10-26T23:21:39.000+0000 |
Description
If the Appc Daemon is not running and you run
appcd status, it outputs:
Error: connect ECONNREFUSED 127.0.0.1:1732
It should output a more readable error for both "report" and "json" output modes.
Fixed by https://github.com/appcelerator/appc-daemon/commit/edf58ca6a778cc1ffb9452f7e81c2798e6d981b2.