{"action":"opened","number":1212,"pull_request":{"url":"https://api.github.com/repos/sinatra/sinatra/pulls/1212","id":96232341,"html_url":"https://github.com/sinatra/sinatra/pull/1212","diff_url":"https://github.com/sinatra/sinatra/pull/1212.diff","patch_url":"https://github.com/sinatra/sinatra/pull/1212.patch","issue_url":"https://api.github.com/repos/sinatra/sinatra/issues/1212","number":1212,"state":"open","locked":false,"title":"Improve BadRequest logic. Partially reverts 8f8df53, fixes #1211","user":{"login":"mwpastore","id":8540936,"avatar_url":"https://avatars.githubusercontent.com/u/8540936?v=3","gravatar_id":"","url":"https://api.github.com/users/mwpastore","html_url":"https://github.com/mwpastore","followers_url":"https://api.github.com/users/mwpastore/followers","following_url":"https://api.github.com/users/mwpastore/following{/other_user}","gists_url":"https://api.github.com/users/mwpastore/gists{/gist_id}","starred_url":"https://api.github.com/users/mwpastore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwpastore/subscriptions","organizations_url":"https://api.github.com/users/mwpastore/orgs","repos_url":"https://api.github.com/users/mwpastore/repos","events_url":"https://api.github.com/users/mwpastore/events{/privacy}","received_events_url":"https://api.github.com/users/mwpastore/received_events","type":"User","site_admin":false},"body":"This patch prevents exceptions that respond to #http_status with 400 from bypassing/breaking show_exceptions, raise_errors, and error handlers. ","created_at":"2016-12-02T07:15:27Z","updated_at":"2016-12-02T07:15:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3bd66f44c69d1fb86a8f4dfd5ff32ce6848f6539","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sinatra/sinatra/pulls/1212/commits","review_comments_url":"https://api.github.com/repos/sinatra/sinatra/pulls/1212/comments","review_comment_url":"https://api.github.com/repos/sinatra/sinatra/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sinatra/sinatra/issues/1212/comments","statuses_url":"https://api.github.com/repos/sinatra/sinatra/statuses/b4fdb7221fbfa24c2736f2d96661ada893eef557","head":{"label":"mwpastore:bad-request-exceptions","ref":"bad-request-exceptions","sha":"b4fdb7221fbfa24c2736f2d96661ada893eef557","user":{"login":"mwpastore","id":8540936,"avatar_url":"https://avatars.githubusercontent.com/u/8540936?v=3","gravatar_id":"","url":"https://api.github.com/users/mwpastore","html_url":"https://github.com/mwpastore","followers_url":"https://api.github.com/users/mwpastore/followers","following_url":"https://api.github.com/users/mwpastore/following{/other_user}","gists_url":"https://api.github.com/users/mwpastore/gists{/gist_id}","starred_url":"https://api.github.com/users/mwpastore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwpastore/subscriptions","organizations_url":"https://api.github.com/users/mwpastore/orgs","repos_url":"https://api.github.com/users/mwpastore/repos","events_url":"https://api.github.com/users/mwpastore/events{/privacy}","received_events_url":"https://api.github.com/users/mwpastore/received_events","type":"User","site_admin":false},"repo":{"id":47317334,"name":"sinatra","full_name":"mwpastore/sinatra","owner":{"login":"mwpastore","id":8540936,"avatar_url":"https://avatars.githubusercontent.com/u/8540936?v=3","gravatar_id":"","url":"https://api.github.com/users/mwpastore","html_url":"https://github.com/mwpastore","followers_url":"https://api.github.com/users/mwpastore/followers","following_url":"https://api.github.com/users/mwpastore/following{/other_user}","gists_url":"https://api.github.com/users/mwpastore/gists{/gist_id}","starred_url":"https://api.github.com/users/mwpastore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwpastore/subscriptions","organizations_url":"https://api.github.com/users/mwpastore/orgs","repos_url":"https://api.github.com/users/mwpastore/repos","events_url":"https://api.github.com/users/mwpastore/events{/privacy}","received_events_url":"https://api.github.com/users/mwpastore/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mwpastore/sinatra","description":"Classy web-development dressed in a DSL (official / canonical repo)","fork":true,"url":"https://api.github.com/repos/mwpastore/sinatra","forks_url":"https://api.github.com/repos/mwpastore/sinatra/forks","keys_url":"https://api.github.com/repos/mwpastore/sinatra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mwpastore/sinatra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mwpastore/sinatra/teams","hooks_url":"https://api.github.com/repos/mwpastore/sinatra/hooks","issue_events_url":"https://api.github.com/repos/mwpastore/sinatra/issues/events{/number}","events_url":"https://api.github.com/repos/mwpastore/sinatra/events","assignees_url":"https://api.github.com/repos/mwpastore/sinatra/assignees{/user}","branches_url":"https://api.github.com/repos/mwpastore/sinatra/branches{/branch}","tags_url":"https://api.github.com/repos/mwpastore/sinatra/tags","blobs_url":"https://api.github.com/repos/mwpastore/sinatra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mwpastore/sinatra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mwpastore/sinatra/git/refs{/sha}","trees_url":"https://api.github.com/repos/mwpastore/sinatra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mwpastore/sinatra/statuses/{sha}","languages_url":"https://api.github.com/repos/mwpastore/sinatra/languages","stargazers_url":"https://api.github.com/repos/mwpastore/sinatra/stargazers","contributors_url":"https://api.github.com/repos/mwpastore/sinatra/contributors","subscribers_url":"https://api.github.com/repos/mwpastore/sinatra/subscribers","subscription_url":"https://api.github.com/repos/mwpastore/sinatra/subscription","commits_url":"https://api.github.com/repos/mwpastore/sinatra/commits{/sha}","git_commits_url":"https://api.github.com/repos/mwpastore/sinatra/git/commits{/sha}","comments_url":"https://api.github.com/repos/mwpastore/sinatra/comments{/number}","issue_comment_url":"https://api.github.com/repos/mwpastore/sinatra/issues/comments{/number}","contents_url":"https://api.github.com/repos/mwpastore/sinatra/contents/{+path}","compare_url":"https://api.github.com/repos/mwpastore/sinatra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mwpastore/sinatra/merges","archive_url":"https://api.github.com/repos/mwpastore/sinatra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mwpastore/sinatra/downloads","issues_url":"https://api.github.com/repos/mwpastore/sinatra/issues{/number}","pulls_url":"https://api.github.com/repos/mwpastore/sinatra/pulls{/number}","milestones_url":"https://api.github.com/repos/mwpastore/sinatra/milestones{/number}","notifications_url":"https://api.github.com/repos/mwpastore/sinatra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mwpastore/sinatra/labels{/name}","releases_url":"https://api.github.com/repos/mwpastore/sinatra/releases{/id}","deployments_url":"https://api.github.com/repos/mwpastore/sinatra/deployments","created_at":"2015-12-03T08:04:16Z","updated_at":"2016-02-10T20:00:48Z","pushed_at":"2016-12-02T07:11:18Z","git_url":"git://github.com/mwpastore/sinatra.git","ssh_url":"git@github.com:mwpastore/sinatra.git","clone_url":"https://github.com/mwpastore/sinatra.git","svn_url":"https://github.com/mwpastore/sinatra","homepage":"http://www.sinatrarb.com/","size":5964,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sinatra:master","ref":"master","sha":"63e81bc539b36778c6bd50a303750ab52ee2b2fb","user":{"login":"sinatra","id":8312,"avatar_url":"https://avatars.githubusercontent.com/u/8312?v=3","gravatar_id":"","url":"https://api.github.com/users/sinatra","html_url":"https://github.com/sinatra","followers_url":"https://api.github.com/users/sinatra/followers","following_url":"https://api.github.com/users/sinatra/following{/other_user}","gists_url":"https://api.github.com/users/sinatra/gists{/gist_id}","starred_url":"https://api.github.com/users/sinatra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sinatra/subscriptions","organizations_url":"https://api.github.com/users/sinatra/orgs","repos_url":"https://api.github.com/users/sinatra/repos","events_url":"https://api.github.com/users/sinatra/events{/privacy}","received_events_url":"https://api.github.com/users/sinatra/received_events","type":"Organization","site_admin":false},"repo":{"id":106995,"name":"sinatra","full_name":"sinatra/sinatra","owner":{"login":"sinatra","id":8312,"avatar_url":"https://avatars.githubusercontent.com/u/8312?v=3","gravatar_id":"","url":"https://api.github.com/users/sinatra","html_url":"https://github.com/sinatra","followers_url":"https://api.github.com/users/sinatra/followers","following_url":"https://api.github.com/users/sinatra/following{/other_user}","gists_url":"https://api.github.com/users/sinatra/gists{/gist_id}","starred_url":"https://api.github.com/users/sinatra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sinatra/subscriptions","organizations_url":"https://api.github.com/users/sinatra/orgs","repos_url":"https://api.github.com/users/sinatra/repos","events_url":"https://api.github.com/users/sinatra/events{/privacy}","received_events_url":"https://api.github.com/users/sinatra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sinatra/sinatra","description":"Classy web-development dressed in a DSL (official / canonical repo)","fork":false,"url":"https://api.github.com/repos/sinatra/sinatra","forks_url":"https://api.github.com/repos/sinatra/sinatra/forks","keys_url":"https://api.github.com/repos/sinatra/sinatra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sinatra/sinatra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sinatra/sinatra/teams","hooks_url":"https://api.github.com/repos/sinatra/sinatra/hooks","issue_events_url":"https://api.github.com/repos/sinatra/sinatra/issues/events{/number}","events_url":"https://api.github.com/repos/sinatra/sinatra/events","assignees_url":"https://api.github.com/repos/sinatra/sinatra/assignees{/user}","branches_url":"https://api.github.com/repos/sinatra/sinatra/branches{/branch}","tags_url":"https://api.github.com/repos/sinatra/sinatra/tags","blobs_url":"https://api.github.com/repos/sinatra/sinatra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sinatra/sinatra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sinatra/sinatra/git/refs{/sha}","trees_url":"https://api.github.com/repos/sinatra/sinatra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sinatra/sinatra/statuses/{sha}","languages_url":"https://api.github.com/repos/sinatra/sinatra/languages","stargazers_url":"https://api.github.com/repos/sinatra/sinatra/stargazers","contributors_url":"https://api.github.com/repos/sinatra/sinatra/contributors","subscribers_url":"https://api.github.com/repos/sinatra/sinatra/subscribers","subscription_url":"https://api.github.com/repos/sinatra/sinatra/subscription","commits_url":"https://api.github.com/repos/sinatra/sinatra/commits{/sha}","git_commits_url":"https://api.github.com/repos/sinatra/sinatra/git/commits{/sha}","comments_url":"https://api.github.com/repos/sinatra/sinatra/comments{/number}","issue_comment_url":"https://api.github.com/repos/sinatra/sinatra/issues/comments{/number}","contents_url":"https://api.github.com/repos/sinatra/sinatra/contents/{+path}","compare_url":"https://api.github.com/repos/sinatra/sinatra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sinatra/sinatra/merges","archive_url":"https://api.github.com/repos/sinatra/sinatra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sinatra/sinatra/downloads","issues_url":"https://api.github.com/repos/sinatra/sinatra/issues{/number}","pulls_url":"https://api.github.com/repos/sinatra/sinatra/pulls{/number}","milestones_url":"https://api.github.com/repos/sinatra/sinatra/milestones{/number}","notifications_url":"https://api.github.com/repos/sinatra/sinatra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sinatra/sinatra/labels{/name}","releases_url":"https://api.github.com/repos/sinatra/sinatra/releases{/id}","deployments_url":"https://api.github.com/repos/sinatra/sinatra/deployments","created_at":"2009-01-14T01:27:30Z","updated_at":"2016-12-02T06:31:35Z","pushed_at":"2016-11-29T22:57:12Z","git_url":"git://github.com/sinatra/sinatra.git","ssh_url":"git@github.com:sinatra/sinatra.git","clone_url":"https://github.com/sinatra/sinatra.git","svn_url":"https://github.com/sinatra/sinatra","homepage":"http://www.sinatrarb.com/","size":8612,"stargazers_count":8474,"watchers_count":8474,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1592,"mirror_url":null,"open_issues_count":64,"forks":1592,"open_issues":64,"watchers":8474,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sinatra/sinatra/pulls/1212"},"html":{"href":"https://github.com/sinatra/sinatra/pull/1212"},"issue":{"href":"https://api.github.com/repos/sinatra/sinatra/issues/1212"},"comments":{"href":"https://api.github.com/repos/sinatra/sinatra/issues/1212/comments"},"review_comments":{"href":"https://api.github.com/repos/sinatra/sinatra/pulls/1212/comments"},"review_comment":{"href":"https://api.github.com/repos/sinatra/sinatra/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sinatra/sinatra/pulls/1212/commits"},"statuses":{"href":"https://api.github.com/repos/sinatra/sinatra/statuses/b4fdb7221fbfa24c2736f2d96661ada893eef557"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":68,"deletions":69,"changed_files":5}}
{"actor":{"display_login":"mwpastore"}}