{"action":"created","issue":{"url":"https://api.github.com/repos/yahoo/fetchr/issues/140","repository_url":"https://api.github.com/repos/yahoo/fetchr","labels_url":"https://api.github.com/repos/yahoo/fetchr/issues/140/labels{/name}","comments_url":"https://api.github.com/repos/yahoo/fetchr/issues/140/comments","events_url":"https://api.github.com/repos/yahoo/fetchr/issues/140/events","html_url":"https://github.com/yahoo/fetchr/pull/140","id":144771560,"number":140,"title":"use 500 as default status code for errors, instead of 400","user":{"login":"lingyan","id":1414235,"avatar_url":"https://avatars.githubusercontent.com/u/1414235?v=3","gravatar_id":"","url":"https://api.github.com/users/lingyan","html_url":"https://github.com/lingyan","followers_url":"https://api.github.com/users/lingyan/followers","following_url":"https://api.github.com/users/lingyan/following{/other_user}","gists_url":"https://api.github.com/users/lingyan/gists{/gist_id}","starred_url":"https://api.github.com/users/lingyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lingyan/subscriptions","organizations_url":"https://api.github.com/users/lingyan/orgs","repos_url":"https://api.github.com/users/lingyan/repos","events_url":"https://api.github.com/users/lingyan/events{/privacy}","received_events_url":"https://api.github.com/users/lingyan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yahoo/fetchr/labels/Breaking%20Change","name":"Breaking Change","color":"fbca04"},{"url":"https://api.github.com/repos/yahoo/fetchr/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-31T02:33:05Z","updated_at":"2016-03-31T04:06:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/yahoo/fetchr/pulls/140","html_url":"https://github.com/yahoo/fetchr/pull/140","diff_url":"https://github.com/yahoo/fetchr/pull/140.diff","patch_url":"https://github.com/yahoo/fetchr/pull/140.patch"},"body":"400 is for client error.  Propose to use 500 instead.  Theoretically, this is a breaking change.  We can make it a non breaking change, by allowing people to configure default error code to return.  But don't think it is worth the trouble.  We can go 1.0 with this :)\r\n\r\n@Vijar @mridgway @redonkulus "},"comment":{"url":"https://api.github.com/repos/yahoo/fetchr/issues/comments/203743433","html_url":"https://github.com/yahoo/fetchr/pull/140#issuecomment-203743433","issue_url":"https://api.github.com/repos/yahoo/fetchr/issues/140","id":203743433,"user":{"login":"lingyan","id":1414235,"avatar_url":"https://avatars.githubusercontent.com/u/1414235?v=3","gravatar_id":"","url":"https://api.github.com/users/lingyan","html_url":"https://github.com/lingyan","followers_url":"https://api.github.com/users/lingyan/followers","following_url":"https://api.github.com/users/lingyan/following{/other_user}","gists_url":"https://api.github.com/users/lingyan/gists{/gist_id}","starred_url":"https://api.github.com/users/lingyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lingyan/subscriptions","organizations_url":"https://api.github.com/users/lingyan/orgs","repos_url":"https://api.github.com/users/lingyan/repos","events_url":"https://api.github.com/users/lingyan/events{/privacy}","received_events_url":"https://api.github.com/users/lingyan/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T04:06:32Z","updated_at":"2016-03-31T04:06:32Z","body":"Yeah. That is why I said **theoretically** it is a breaking change, if some app monitors the error status code from fetcher.  This is not urgent though.  We can wait for other breaking changes to publish 1.0."}}