{"action":"opened","issue":{"url":"https://api.github.com/repos/hyperboria/cjdns/issues/122","repository_url":"https://api.github.com/repos/hyperboria/cjdns","labels_url":"https://api.github.com/repos/hyperboria/cjdns/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/hyperboria/cjdns/issues/122/comments","events_url":"https://api.github.com/repos/hyperboria/cjdns/issues/122/events","html_url":"https://github.com/hyperboria/cjdns/issues/122","id":148915381,"number":122,"title":"cexec fails to check if unauthenticated","user":{"login":"cyisfor","id":1278811,"avatar_url":"https://avatars.githubusercontent.com/u/1278811?v=3","gravatar_id":"","url":"https://api.github.com/users/cyisfor","html_url":"https://github.com/cyisfor","followers_url":"https://api.github.com/users/cyisfor/followers","following_url":"https://api.github.com/users/cyisfor/following{/other_user}","gists_url":"https://api.github.com/users/cyisfor/gists{/gist_id}","starred_url":"https://api.github.com/users/cyisfor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyisfor/subscriptions","organizations_url":"https://api.github.com/users/cyisfor/orgs","repos_url":"https://api.github.com/users/cyisfor/repos","events_url":"https://api.github.com/users/cyisfor/events{/privacy}","received_events_url":"https://api.github.com/users/cyisfor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-17T03:39:19Z","updated_at":"2016-04-17T03:39:19Z","closed_at":null,"body":"```$ ./cexec\r\ncjdns/tools/lib/cjdnsadmin/cjdnsadmin.js:149\r\n                    Object.keys(ret.availableFunctions).forEach(function (funcName) {\r\n                           ^\r\n\r\nTypeError: Cannot convert undefined or null to object\r\n    at Function.keys (native)\r\n    at cjdns/tools/lib/cjdnsadmin/cjdnsadmin.js:149:28\r\n    at Object.callback (cjdns/node_modules/nthen/lib/nthen.js:16:22)\r\n    at Socket.<anonymous> (cjdns/tools/lib/cjdnsadmin/cjdnsadmin.js:191:17)\r\n    at emitTwo (events.js:100:13)\r\n    at Socket.emit (events.js:185:7)\r\n    at UDP.onMessage (dgram.js:529:8)\r\n```\r\n\r\nIf I have a bad ~/.cjdnsadmin file, I'd expect it to fail sooner, with an error message about not being authenticated, rather than die here with a backtrace."}}