{"action":"created","issue":{"url":"https://api.github.com/repos/ahelsing/tickettest2/issues/752","labels_url":"https://api.github.com/repos/ahelsing/tickettest2/issues/752/labels{/name}","comments_url":"https://api.github.com/repos/ahelsing/tickettest2/issues/752/comments","events_url":"https://api.github.com/repos/ahelsing/tickettest2/issues/752/events","html_url":"https://github.com/ahelsing/tickettest2/issues/752","id":77125776,"number":752,"title":"Return non 0 exit code on AM API error?","user":{"login":"ahelsing","id":12136824,"avatar_url":"https://avatars.githubusercontent.com/u/12136824?v=3","gravatar_id":"","url":"https://api.github.com/users/ahelsing","html_url":"https://github.com/ahelsing","followers_url":"https://api.github.com/users/ahelsing/followers","following_url":"https://api.github.com/users/ahelsing/following{/other_user}","gists_url":"https://api.github.com/users/ahelsing/gists{/gist_id}","starred_url":"https://api.github.com/users/ahelsing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahelsing/subscriptions","organizations_url":"https://api.github.com/users/ahelsing/orgs","repos_url":"https://api.github.com/users/ahelsing/repos","events_url":"https://api.github.com/users/ahelsing/events{/privacy}","received_events_url":"https://api.github.com/users/ahelsing/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"ahelsing","id":12136824,"avatar_url":"https://avatars.githubusercontent.com/u/12136824?v=3","gravatar_id":"","url":"https://api.github.com/users/ahelsing","html_url":"https://github.com/ahelsing","followers_url":"https://api.github.com/users/ahelsing/followers","following_url":"https://api.github.com/users/ahelsing/following{/other_user}","gists_url":"https://api.github.com/users/ahelsing/gists{/gist_id}","starred_url":"https://api.github.com/users/ahelsing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahelsing/subscriptions","organizations_url":"https://api.github.com/users/ahelsing/orgs","repos_url":"https://api.github.com/users/ahelsing/repos","events_url":"https://api.github.com/users/ahelsing/events{/privacy}","received_events_url":"https://api.github.com/users/ahelsing/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ahelsing/tickettest2/milestones/18","html_url":"https://github.com/ahelsing/tickettest2/milestones/2.9","labels_url":"https://api.github.com/repos/ahelsing/tickettest2/milestones/18/labels","id":1113366,"number":18,"title":"2.9","description":null,"creator":{"login":"ahelsing","id":12136824,"avatar_url":"https://avatars.githubusercontent.com/u/12136824?v=3","gravatar_id":"","url":"https://api.github.com/users/ahelsing","html_url":"https://github.com/ahelsing","followers_url":"https://api.github.com/users/ahelsing/followers","following_url":"https://api.github.com/users/ahelsing/following{/other_user}","gists_url":"https://api.github.com/users/ahelsing/gists{/gist_id}","starred_url":"https://api.github.com/users/ahelsing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahelsing/subscriptions","organizations_url":"https://api.github.com/users/ahelsing/orgs","repos_url":"https://api.github.com/users/ahelsing/repos","events_url":"https://api.github.com/users/ahelsing/events{/privacy}","received_events_url":"https://api.github.com/users/ahelsing/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":3,"state":"open","created_at":"2015-05-16T14:57:45Z","updated_at":"2015-05-16T20:38:33Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-05-16T20:38:33Z","updated_at":"2015-05-16T20:38:43Z","closed_at":null,"body":"Paul says sometimes Omni doesn't return a non-0 exit code when there was an error. Particularly on 'busy' errors. Probably this is really that there was a non 0 AM API error. And perhaps the --raise-error option does what we want here?\r\n\n\n _Imported from trac ticket [#752](http://trac.gpolab.bbn.com/gcf/ticket/752),  created by ahelsing on 10-20-2014 at 10:20, last modified: 01-30-2015 at 13:42_\n"},"comment":{"url":"https://api.github.com/repos/ahelsing/tickettest2/issues/comments/102686365","html_url":"https://github.com/ahelsing/tickettest2/issues/752#issuecomment-102686365","issue_url":"https://api.github.com/repos/ahelsing/tickettest2/issues/752","id":102686365,"user":{"login":"ahelsing","id":12136824,"avatar_url":"https://avatars.githubusercontent.com/u/12136824?v=3","gravatar_id":"","url":"https://api.github.com/users/ahelsing","html_url":"https://github.com/ahelsing","followers_url":"https://api.github.com/users/ahelsing/followers","following_url":"https://api.github.com/users/ahelsing/following{/other_user}","gists_url":"https://api.github.com/users/ahelsing/gists{/gist_id}","starred_url":"https://api.github.com/users/ahelsing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahelsing/subscriptions","organizations_url":"https://api.github.com/users/ahelsing/orgs","repos_url":"https://api.github.com/users/ahelsing/repos","events_url":"https://api.github.com/users/ahelsing/events{/privacy}","received_events_url":"https://api.github.com/users/ahelsing/received_events","type":"User","site_admin":false},"created_at":"2015-05-16T20:38:43Z","updated_at":"2015-05-16T20:38:43Z","body":"Omni exits with the error code in the AMAPI Error, or with the Omni Error. But if the return is a string and no exception was raised, then it exits with code 0.\r\n\r\n\n\n_Trac comment by ahelsing on 10-21-2014 at 13:44_\n"}}