{"action":"created","issue":{"url":"https://api.github.com/repos/hannorein/rebound/issues/108","labels_url":"https://api.github.com/repos/hannorein/rebound/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/hannorein/rebound/issues/108/comments","events_url":"https://api.github.com/repos/hannorein/rebound/issues/108/events","html_url":"https://github.com/hannorein/rebound/pull/108","id":123012210,"number":108,"title":"added dummy function for raising external exceptions","user":{"login":"dtamayo","id":3408023,"avatar_url":"https://avatars.githubusercontent.com/u/3408023?v=3","gravatar_id":"","url":"https://api.github.com/users/dtamayo","html_url":"https://github.com/dtamayo","followers_url":"https://api.github.com/users/dtamayo/followers","following_url":"https://api.github.com/users/dtamayo/following{/other_user}","gists_url":"https://api.github.com/users/dtamayo/gists{/gist_id}","starred_url":"https://api.github.com/users/dtamayo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtamayo/subscriptions","organizations_url":"https://api.github.com/users/dtamayo/orgs","repos_url":"https://api.github.com/users/dtamayo/repos","events_url":"https://api.github.com/users/dtamayo/events{/privacy}","received_events_url":"https://api.github.com/users/dtamayo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-12-18T19:33:15Z","updated_at":"2015-12-18T19:58:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hannorein/rebound/pulls/108","html_url":"https://github.com/hannorein/rebound/pull/108","diff_url":"https://github.com/hannorein/rebound/pull/108.diff","patch_url":"https://github.com/hannorein/rebound/pull/108.patch"},"body":"I wanted to have a way for reboundx to raise exceptions when something goes wrong, so that you're not left wondering what happened with a Kernel died message in ipython.  After reb_integrate checks error codes, I have it call a dummy function that an external library can monkey patch.  Let me know if you think there's a better way to do this.  The corresponding reboundx branch that uses this is called 'effects' if you want to take a look"},"comment":{"url":"https://api.github.com/repos/hannorein/rebound/issues/comments/165884892","html_url":"https://github.com/hannorein/rebound/pull/108#issuecomment-165884892","issue_url":"https://api.github.com/repos/hannorein/rebound/issues/108","id":165884892,"user":{"login":"dtamayo","id":3408023,"avatar_url":"https://avatars.githubusercontent.com/u/3408023?v=3","gravatar_id":"","url":"https://api.github.com/users/dtamayo","html_url":"https://github.com/dtamayo","followers_url":"https://api.github.com/users/dtamayo/followers","following_url":"https://api.github.com/users/dtamayo/following{/other_user}","gists_url":"https://api.github.com/users/dtamayo/gists{/gist_id}","starred_url":"https://api.github.com/users/dtamayo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtamayo/subscriptions","organizations_url":"https://api.github.com/users/dtamayo/orgs","repos_url":"https://api.github.com/users/dtamayo/repos","events_url":"https://api.github.com/users/dtamayo/events{/privacy}","received_events_url":"https://api.github.com/users/dtamayo/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T19:58:54Z","updated_at":"2015-12-18T19:58:54Z","body":"Oh, to a generic one in REB_STATUS, and printing the rebx one in stderr?"}}