{"action":"created","issue":{"url":"https://api.github.com/repos/fuzeman/trakt.py/issues/4","labels_url":"https://api.github.com/repos/fuzeman/trakt.py/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/fuzeman/trakt.py/issues/4/comments","events_url":"https://api.github.com/repos/fuzeman/trakt.py/issues/4/events","html_url":"https://github.com/fuzeman/trakt.py/issues/4","id":55290375,"number":4,"title":"Grabbing error codes?","user":{"login":"Razzeee","id":5943908,"avatar_url":"https://avatars.githubusercontent.com/u/5943908?v=3","gravatar_id":"","url":"https://api.github.com/users/Razzeee","html_url":"https://github.com/Razzeee","followers_url":"https://api.github.com/users/Razzeee/followers","following_url":"https://api.github.com/users/Razzeee/following{/other_user}","gists_url":"https://api.github.com/users/Razzeee/gists{/gist_id}","starred_url":"https://api.github.com/users/Razzeee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Razzeee/subscriptions","organizations_url":"https://api.github.com/users/Razzeee/orgs","repos_url":"https://api.github.com/users/Razzeee/repos","events_url":"https://api.github.com/users/Razzeee/events{/privacy}","received_events_url":"https://api.github.com/users/Razzeee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-23T14:59:30Z","updated_at":"2015-01-26T01:21:54Z","closed_at":null,"body":"Hey everybody,\r\n\r\nis there a way we can get the error from the library? As far as I've seen it only adds it to the logfile, no luck with try etc.\r\n\r\nCheers"},"comment":{"url":"https://api.github.com/repos/fuzeman/trakt.py/issues/comments/71404318","html_url":"https://github.com/fuzeman/trakt.py/issues/4#issuecomment-71404318","issue_url":"https://api.github.com/repos/fuzeman/trakt.py/issues/4","id":71404318,"user":{"login":"fuzeman","id":526664,"avatar_url":"https://avatars.githubusercontent.com/u/526664?v=3","gravatar_id":"","url":"https://api.github.com/users/fuzeman","html_url":"https://github.com/fuzeman","followers_url":"https://api.github.com/users/fuzeman/followers","following_url":"https://api.github.com/users/fuzeman/following{/other_user}","gists_url":"https://api.github.com/users/fuzeman/gists{/gist_id}","starred_url":"https://api.github.com/users/fuzeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fuzeman/subscriptions","organizations_url":"https://api.github.com/users/fuzeman/orgs","repos_url":"https://api.github.com/users/fuzeman/repos","events_url":"https://api.github.com/users/fuzeman/events{/privacy}","received_events_url":"https://api.github.com/users/fuzeman/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T01:21:54Z","updated_at":"2015-01-26T01:21:54Z","body":"I've started adding an ```exceptions=True``` parameter (in the develop branch) to enable exceptions on request failures, this means you can catch ```trakt.RequestError``` to retrieve the error code and raw response."}}