{"action":"opened","issue":{"url":"https://api.github.com/repos/ipfs/python-ipfs-api/issues/13","labels_url":"https://api.github.com/repos/ipfs/python-ipfs-api/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/ipfs/python-ipfs-api/issues/13/comments","events_url":"https://api.github.com/repos/ipfs/python-ipfs-api/issues/13/events","html_url":"https://github.com/ipfs/python-ipfs-api/issues/13","id":106163337,"number":13,"title":"Commands should raise exceptions on error","user":{"login":"larsks","id":82622,"avatar_url":"https://avatars.githubusercontent.com/u/82622?v=3","gravatar_id":"","url":"https://api.github.com/users/larsks","html_url":"https://github.com/larsks","followers_url":"https://api.github.com/users/larsks/followers","following_url":"https://api.github.com/users/larsks/following{/other_user}","gists_url":"https://api.github.com/users/larsks/gists{/gist_id}","starred_url":"https://api.github.com/users/larsks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larsks/subscriptions","organizations_url":"https://api.github.com/users/larsks/orgs","repos_url":"https://api.github.com/users/larsks/repos","events_url":"https://api.github.com/users/larsks/events{/privacy}","received_events_url":"https://api.github.com/users/larsks/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-12T14:36:24Z","updated_at":"2015-09-12T14:36:24Z","closed_at":null,"body":"If call something like:\r\n\r\n    value = api.cat('invalidhash')\r\n\r\nI should not get back the string `{u'Message': u'invalid ipfs ref path', u'Code': 0}`.  I should get an exception."}}