{"action":"opened","issue":{"url":"https://api.github.com/repos/ivanr/qlue/issues/17","repository_url":"https://api.github.com/repos/ivanr/qlue","labels_url":"https://api.github.com/repos/ivanr/qlue/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/ivanr/qlue/issues/17/comments","events_url":"https://api.github.com/repos/ivanr/qlue/issues/17/events","html_url":"https://github.com/ivanr/qlue/issues/17","id":228973961,"number":17,"title":"It should be possible for a page to respond to its own failure","user":{"login":"ivanr","id":485278,"avatar_url":"https://avatars2.githubusercontent.com/u/485278?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanr","html_url":"https://github.com/ivanr","followers_url":"https://api.github.com/users/ivanr/followers","following_url":"https://api.github.com/users/ivanr/following{/other_user}","gists_url":"https://api.github.com/users/ivanr/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanr/subscriptions","organizations_url":"https://api.github.com/users/ivanr/orgs","repos_url":"https://api.github.com/users/ivanr/repos","events_url":"https://api.github.com/users/ivanr/events{/privacy}","received_events_url":"https://api.github.com/users/ivanr/received_events","type":"User","site_admin":false},"labels":[{"id":196239352,"url":"https://api.github.com/repos/ivanr/qlue/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-16T09:47:09Z","updated_at":"2017-05-16T09:47:09Z","closed_at":null,"body":"The current Qlue behaviour is to send a 500 response, but with a text/html body. That breaks the expectations in some cases, for example when JSON output is expected. With an appropriate hook in place, a page could respond a JSON-formatted error message in some expected format (that's used for all application API errors)."}}
{"actor":{"display_login":"ivanr"}}