{"action":"created","issue":{"url":"https://api.github.com/repos/eapache/queue/issues/6","labels_url":"https://api.github.com/repos/eapache/queue/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/eapache/queue/issues/6/comments","events_url":"https://api.github.com/repos/eapache/queue/issues/6/events","html_url":"https://github.com/eapache/queue/pull/6","id":91707501,"number":6,"title":"Return an error rather than panicking on a bad request.","user":{"login":"connor4312","id":2230985,"avatar_url":"https://avatars.githubusercontent.com/u/2230985?v=3","gravatar_id":"","url":"https://api.github.com/users/connor4312","html_url":"https://github.com/connor4312","followers_url":"https://api.github.com/users/connor4312/followers","following_url":"https://api.github.com/users/connor4312/following{/other_user}","gists_url":"https://api.github.com/users/connor4312/gists{/gist_id}","starred_url":"https://api.github.com/users/connor4312/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/connor4312/subscriptions","organizations_url":"https://api.github.com/users/connor4312/orgs","repos_url":"https://api.github.com/users/connor4312/repos","events_url":"https://api.github.com/users/connor4312/events{/privacy}","received_events_url":"https://api.github.com/users/connor4312/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-29T06:11:09Z","updated_at":"2015-07-02T21:38:54Z","closed_at":"2015-07-02T21:32:20Z","pull_request":{"url":"https://api.github.com/repos/eapache/queue/pulls/6","html_url":"https://github.com/eapache/queue/pull/6","diff_url":"https://github.com/eapache/queue/pull/6.diff","patch_url":"https://github.com/eapache/queue/pull/6.patch"},"body":"It's considered much more idiomatic to return errors rather than panicking if something goes wrong. It might actually be _dangerous_ to panic here... the expectation is that if there's a possiblity for an error, an error will be returned. If consumers don't see that an error is returned, they may simply assume `nil` is returned on an invalid request, and applications will burn...\r\n\r\nUnfortunately this is not a backwards-compatible change."},"comment":{"url":"https://api.github.com/repos/eapache/queue/issues/comments/118175865","html_url":"https://github.com/eapache/queue/pull/6#issuecomment-118175865","issue_url":"https://api.github.com/repos/eapache/queue/issues/6","id":118175865,"user":{"login":"connor4312","id":2230985,"avatar_url":"https://avatars.githubusercontent.com/u/2230985?v=3","gravatar_id":"","url":"https://api.github.com/users/connor4312","html_url":"https://github.com/connor4312","followers_url":"https://api.github.com/users/connor4312/followers","following_url":"https://api.github.com/users/connor4312/following{/other_user}","gists_url":"https://api.github.com/users/connor4312/gists{/gist_id}","starred_url":"https://api.github.com/users/connor4312/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/connor4312/subscriptions","organizations_url":"https://api.github.com/users/connor4312/orgs","repos_url":"https://api.github.com/users/connor4312/repos","events_url":"https://api.github.com/users/connor4312/events{/privacy}","received_events_url":"https://api.github.com/users/connor4312/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T21:38:54Z","updated_at":"2015-07-02T21:38:54Z","body":"Ah, thanks, that makes sense :)"}}