{"action":"created","issue":{"url":"https://api.github.com/repos/mesosphere/dcos-cli/issues/233","labels_url":"https://api.github.com/repos/mesosphere/dcos-cli/issues/233/labels{/name}","comments_url":"https://api.github.com/repos/mesosphere/dcos-cli/issues/233/comments","events_url":"https://api.github.com/repos/mesosphere/dcos-cli/issues/233/events","html_url":"https://github.com/mesosphere/dcos-cli/pull/233","id":91392442,"number":233,"title":"dcos-1886 don't crash if invalid json commands","user":{"login":"tamarrow","id":1292768,"avatar_url":"https://avatars.githubusercontent.com/u/1292768?v=3","gravatar_id":"","url":"https://api.github.com/users/tamarrow","html_url":"https://github.com/tamarrow","followers_url":"https://api.github.com/users/tamarrow/followers","following_url":"https://api.github.com/users/tamarrow/following{/other_user}","gists_url":"https://api.github.com/users/tamarrow/gists{/gist_id}","starred_url":"https://api.github.com/users/tamarrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamarrow/subscriptions","organizations_url":"https://api.github.com/users/tamarrow/orgs","repos_url":"https://api.github.com/users/tamarrow/repos","events_url":"https://api.github.com/users/tamarrow/events{/privacy}","received_events_url":"https://api.github.com/users/tamarrow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"mgummelt","id":153734,"avatar_url":"https://avatars.githubusercontent.com/u/153734?v=3","gravatar_id":"","url":"https://api.github.com/users/mgummelt","html_url":"https://github.com/mgummelt","followers_url":"https://api.github.com/users/mgummelt/followers","following_url":"https://api.github.com/users/mgummelt/following{/other_user}","gists_url":"https://api.github.com/users/mgummelt/gists{/gist_id}","starred_url":"https://api.github.com/users/mgummelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgummelt/subscriptions","organizations_url":"https://api.github.com/users/mgummelt/orgs","repos_url":"https://api.github.com/users/mgummelt/repos","events_url":"https://api.github.com/users/mgummelt/events{/privacy}","received_events_url":"https://api.github.com/users/mgummelt/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-06-27T00:37:11Z","updated_at":"2015-07-07T19:07:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mesosphere/dcos-cli/pulls/233","html_url":"https://github.com/mesosphere/dcos-cli/pull/233","diff_url":"https://github.com/mesosphere/dcos-cli/pull/233.diff","patch_url":"https://github.com/mesosphere/dcos-cli/pull/233.patch"},"body":"Instead of leaving a stack trace, show more helpful message. \r\n```\r\nTamars-MacBook-Pro:dcos-cli tamar$ dcos marathon app update {\"instances\": 2}\r\nError: No JSON object could be decoded\r\n```\r\n\r\nIn this command, app-id wasn't specified, and we parsed it as `\"{\"` with properties `'\"instances\": 2}'`, which is what caused the stacktrace. "},"comment":{"url":"https://api.github.com/repos/mesosphere/dcos-cli/issues/comments/119305917","html_url":"https://github.com/mesosphere/dcos-cli/pull/233#issuecomment-119305917","issue_url":"https://api.github.com/repos/mesosphere/dcos-cli/issues/233","id":119305917,"user":{"login":"mgummelt","id":153734,"avatar_url":"https://avatars.githubusercontent.com/u/153734?v=3","gravatar_id":"","url":"https://api.github.com/users/mgummelt","html_url":"https://github.com/mgummelt","followers_url":"https://api.github.com/users/mgummelt/followers","following_url":"https://api.github.com/users/mgummelt/following{/other_user}","gists_url":"https://api.github.com/users/mgummelt/gists{/gist_id}","starred_url":"https://api.github.com/users/mgummelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgummelt/subscriptions","organizations_url":"https://api.github.com/users/mgummelt/orgs","repos_url":"https://api.github.com/users/mgummelt/repos","events_url":"https://api.github.com/users/mgummelt/events{/privacy}","received_events_url":"https://api.github.com/users/mgummelt/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T19:07:04Z","updated_at":"2015-07-07T19:07:04Z","body":"See my comment above.  It still applies."}}