{"action":"closed","issue":{"url":"https://api.github.com/repos/arista-eosplus/pyeapi/issues/7","labels_url":"https://api.github.com/repos/arista-eosplus/pyeapi/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/arista-eosplus/pyeapi/issues/7/comments","events_url":"https://api.github.com/repos/arista-eosplus/pyeapi/issues/7/events","html_url":"https://github.com/arista-eosplus/pyeapi/issues/7","id":57931771,"number":7,"title":"change the message returned from command error","user":{"login":"privateip","id":414626,"avatar_url":"https://avatars.githubusercontent.com/u/414626?v=3","gravatar_id":"","url":"https://api.github.com/users/privateip","html_url":"https://github.com/privateip","followers_url":"https://api.github.com/users/privateip/followers","following_url":"https://api.github.com/users/privateip/following{/other_user}","gists_url":"https://api.github.com/users/privateip/gists{/gist_id}","starred_url":"https://api.github.com/users/privateip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/privateip/subscriptions","organizations_url":"https://api.github.com/users/privateip/orgs","repos_url":"https://api.github.com/users/privateip/repos","events_url":"https://api.github.com/users/privateip/events{/privacy}","received_events_url":"https://api.github.com/users/privateip/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/arista-eosplus/pyeapi/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"grybak-arista","id":13952603,"avatar_url":"https://avatars.githubusercontent.com/u/13952603?v=3","gravatar_id":"","url":"https://api.github.com/users/grybak-arista","html_url":"https://github.com/grybak-arista","followers_url":"https://api.github.com/users/grybak-arista/followers","following_url":"https://api.github.com/users/grybak-arista/following{/other_user}","gists_url":"https://api.github.com/users/grybak-arista/gists{/gist_id}","starred_url":"https://api.github.com/users/grybak-arista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grybak-arista/subscriptions","organizations_url":"https://api.github.com/users/grybak-arista/orgs","repos_url":"https://api.github.com/users/grybak-arista/repos","events_url":"https://api.github.com/users/grybak-arista/events{/privacy}","received_events_url":"https://api.github.com/users/grybak-arista/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/arista-eosplus/pyeapi/milestones/2","html_url":"https://github.com/arista-eosplus/pyeapi/milestones/0.5.0","labels_url":"https://api.github.com/repos/arista-eosplus/pyeapi/milestones/2/labels","id":1413922,"number":2,"title":"0.5.0","description":"","creator":{"login":"phil-arista","id":7631359,"avatar_url":"https://avatars.githubusercontent.com/u/7631359?v=3","gravatar_id":"","url":"https://api.github.com/users/phil-arista","html_url":"https://github.com/phil-arista","followers_url":"https://api.github.com/users/phil-arista/followers","following_url":"https://api.github.com/users/phil-arista/following{/other_user}","gists_url":"https://api.github.com/users/phil-arista/gists{/gist_id}","starred_url":"https://api.github.com/users/phil-arista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phil-arista/subscriptions","organizations_url":"https://api.github.com/users/phil-arista/orgs","repos_url":"https://api.github.com/users/phil-arista/repos","events_url":"https://api.github.com/users/phil-arista/events{/privacy}","received_events_url":"https://api.github.com/users/phil-arista/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":3,"state":"open","created_at":"2015-11-16T15:12:57Z","updated_at":"2015-12-07T15:19:30Z","due_on":"2015-12-18T05:00:00Z","closed_at":null},"comments":0,"created_at":"2015-02-17T14:41:28Z","updated_at":"2015-12-07T15:19:30Z","closed_at":"2015-12-07T15:19:30Z","body":"Sounds great! Perhaps even go one step further and include node.connection.error.command_error in the stringification of CommandError? I think most users won't remember to look at this field, and it usually holds the interesting data. Perhaps we don't want to include it in the stringification of certain error message, but if error.code == 1000 (general error), then it is definitely more useful to get the actual message.\r\n\r\ncontinuation of issue #4 "}}