{"action":"created","issue":{"url":"https://api.github.com/repos/wtsi-npg/dalliance/issues/4","repository_url":"https://api.github.com/repos/wtsi-npg/dalliance","labels_url":"https://api.github.com/repos/wtsi-npg/dalliance/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/wtsi-npg/dalliance/issues/4/comments","events_url":"https://api.github.com/repos/wtsi-npg/dalliance/issues/4/events","html_url":"https://github.com/wtsi-npg/dalliance/pull/4","id":157229185,"number":4,"title":"Error handling","user":{"login":"jmtcsngr","id":10711639,"avatar_url":"https://avatars.githubusercontent.com/u/10711639?v=3","gravatar_id":"","url":"https://api.github.com/users/jmtcsngr","html_url":"https://github.com/jmtcsngr","followers_url":"https://api.github.com/users/jmtcsngr/followers","following_url":"https://api.github.com/users/jmtcsngr/following{/other_user}","gists_url":"https://api.github.com/users/jmtcsngr/gists{/gist_id}","starred_url":"https://api.github.com/users/jmtcsngr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmtcsngr/subscriptions","organizations_url":"https://api.github.com/users/jmtcsngr/orgs","repos_url":"https://api.github.com/users/jmtcsngr/repos","events_url":"https://api.github.com/users/jmtcsngr/events{/privacy}","received_events_url":"https://api.github.com/users/jmtcsngr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wtsi-npg/dalliance/labels/work%20in%20progress","name":"work in progress","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-27T15:14:56Z","updated_at":"2016-05-31T10:06:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/wtsi-npg/dalliance/pulls/4","html_url":"https://github.com/wtsi-npg/dalliance/pull/4","diff_url":"https://github.com/wtsi-npg/dalliance/pull/4.diff","patch_url":"https://github.com/wtsi-npg/dalliance/pull/4.patch"},"body":"Catch http errors while requesting bam pass error message to browser object for display"},"comment":{"url":"https://api.github.com/repos/wtsi-npg/dalliance/issues/comments/222646410","html_url":"https://github.com/wtsi-npg/dalliance/pull/4#issuecomment-222646410","issue_url":"https://api.github.com/repos/wtsi-npg/dalliance/issues/4","id":222646410,"user":{"login":"jmtcsngr","id":10711639,"avatar_url":"https://avatars.githubusercontent.com/u/10711639?v=3","gravatar_id":"","url":"https://api.github.com/users/jmtcsngr","html_url":"https://github.com/jmtcsngr","followers_url":"https://api.github.com/users/jmtcsngr/followers","following_url":"https://api.github.com/users/jmtcsngr/following{/other_user}","gists_url":"https://api.github.com/users/jmtcsngr/gists{/gist_id}","starred_url":"https://api.github.com/users/jmtcsngr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmtcsngr/subscriptions","organizations_url":"https://api.github.com/users/jmtcsngr/orgs","repos_url":"https://api.github.com/users/jmtcsngr/repos","events_url":"https://api.github.com/users/jmtcsngr/events{/privacy}","received_events_url":"https://api.github.com/users/jmtcsngr/received_events","type":"User","site_admin":false},"created_at":"2016-05-31T10:06:45Z","updated_at":"2016-05-31T10:06:45Z","body":"How to decode the message:\r\n`var decStr = String.fromCharCode.apply(null, new Uint8Array(req.response));`\r\n`var errorJSON = JSON.parse(decdStr);`"}}
{"actor":{"display_login":"jmtcsngr"}}