{"action":"closed","issue":{"url":"https://api.github.com/repos/hashicorp/envconsul/issues/42","labels_url":"https://api.github.com/repos/hashicorp/envconsul/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/envconsul/issues/42/comments","events_url":"https://api.github.com/repos/hashicorp/envconsul/issues/42/events","html_url":"https://github.com/hashicorp/envconsul/issues/42","id":65541696,"number":42,"title":"envconsul v0.5.0 still doesn't run when consul is unavailable","user":{"login":"mhamrah","id":91162,"avatar_url":"https://avatars.githubusercontent.com/u/91162?v=3","gravatar_id":"","url":"https://api.github.com/users/mhamrah","html_url":"https://github.com/mhamrah","followers_url":"https://api.github.com/users/mhamrah/followers","following_url":"https://api.github.com/users/mhamrah/following{/other_user}","gists_url":"https://api.github.com/users/mhamrah/gists{/gist_id}","starred_url":"https://api.github.com/users/mhamrah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhamrah/subscriptions","organizations_url":"https://api.github.com/users/mhamrah/orgs","repos_url":"https://api.github.com/users/mhamrah/repos","events_url":"https://api.github.com/users/mhamrah/events{/privacy}","received_events_url":"https://api.github.com/users/mhamrah/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-31T20:46:47Z","updated_at":"2015-04-01T01:08:55Z","closed_at":"2015-04-01T01:08:55Z","body":"If Consul is not running locally, I expect running an env command to return the current environment. See the following output:\r\n\r\n```\r\nroot@762ae53f45ce:/# envconsul --prefix some_key env\r\n2015/03/31 20:45:29 [ERR] (view) \"storeKeyPrefix(some_key)\" Get http://127.0.0.1:8500/v1/kv/some_key?recurse=&wait=60000ms: dial tcp 127.0.0.1:8500: connection refused\r\n2015/03/31 20:45:29 [ERR] (runner) watcher reported error: Get http://127.0.0.1:8500/v1/kv/some_key?recurse=&wait=60000ms: dial tcp 127.0.0.1:8500: connection refused\r\n^C2015/03/31 20:45:32 [WARN] (runner) attempted to send interrupt to subprocess, but it does not exist\r\nReceived interrupt, cleaning up...\r\nroot@762ae53f45ce:/# envconsul --version\r\nenvconsul v0.5.0\r\nroot@762ae53f45ce:/#\r\n\r\n```"}}