{"action":"opened","number":291,"pull_request":{"url":"https://api.github.com/repos/onefinestay/nameko/pulls/291","id":49417636,"html_url":"https://github.com/onefinestay/nameko/pull/291","diff_url":"https://github.com/onefinestay/nameko/pull/291.diff","patch_url":"https://github.com/onefinestay/nameko/pull/291.patch","issue_url":"https://api.github.com/repos/onefinestay/nameko/issues/291","number":291,"state":"open","locked":false,"title":"Moved web exception handling to separate method to allow for overridi…","user":{"login":"kooba","id":243257,"avatar_url":"https://avatars.githubusercontent.com/u/243257?v=3","gravatar_id":"","url":"https://api.github.com/users/kooba","html_url":"https://github.com/kooba","followers_url":"https://api.github.com/users/kooba/followers","following_url":"https://api.github.com/users/kooba/following{/other_user}","gists_url":"https://api.github.com/users/kooba/gists{/gist_id}","starred_url":"https://api.github.com/users/kooba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kooba/subscriptions","organizations_url":"https://api.github.com/users/kooba/orgs","repos_url":"https://api.github.com/users/kooba/repos","events_url":"https://api.github.com/users/kooba/events{/privacy}","received_events_url":"https://api.github.com/users/kooba/received_events","type":"User","site_admin":false},"body":"…. Added examples of expected_exceptions and overriding response_from_exception. Moved response_from_result into class for consistency and ability to override.","created_at":"2015-11-02T10:51:41Z","updated_at":"2015-11-02T10:51:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/onefinestay/nameko/pulls/291/commits","review_comments_url":"https://api.github.com/repos/onefinestay/nameko/pulls/291/comments","review_comment_url":"https://api.github.com/repos/onefinestay/nameko/pulls/comments{/number}","comments_url":"https://api.github.com/repos/onefinestay/nameko/issues/291/comments","statuses_url":"https://api.github.com/repos/onefinestay/nameko/statuses/273ee9755648ee647b3b4b33f89b39094ce0f14a","head":{"label":"kooba:overridable-http-errors","ref":"overridable-http-errors","sha":"273ee9755648ee647b3b4b33f89b39094ce0f14a","user":{"login":"kooba","id":243257,"avatar_url":"https://avatars.githubusercontent.com/u/243257?v=3","gravatar_id":"","url":"https://api.github.com/users/kooba","html_url":"https://github.com/kooba","followers_url":"https://api.github.com/users/kooba/followers","following_url":"https://api.github.com/users/kooba/following{/other_user}","gists_url":"https://api.github.com/users/kooba/gists{/gist_id}","starred_url":"https://api.github.com/users/kooba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kooba/subscriptions","organizations_url":"https://api.github.com/users/kooba/orgs","repos_url":"https://api.github.com/users/kooba/repos","events_url":"https://api.github.com/users/kooba/events{/privacy}","received_events_url":"https://api.github.com/users/kooba/received_events","type":"User","site_admin":false},"repo":{"id":40251480,"name":"nameko","full_name":"kooba/nameko","owner":{"login":"kooba","id":243257,"avatar_url":"https://avatars.githubusercontent.com/u/243257?v=3","gravatar_id":"","url":"https://api.github.com/users/kooba","html_url":"https://github.com/kooba","followers_url":"https://api.github.com/users/kooba/followers","following_url":"https://api.github.com/users/kooba/following{/other_user}","gists_url":"https://api.github.com/users/kooba/gists{/gist_id}","starred_url":"https://api.github.com/users/kooba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kooba/subscriptions","organizations_url":"https://api.github.com/users/kooba/orgs","repos_url":"https://api.github.com/users/kooba/repos","events_url":"https://api.github.com/users/kooba/events{/privacy}","received_events_url":"https://api.github.com/users/kooba/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kooba/nameko","description":"Python framework for building microservices","fork":true,"url":"https://api.github.com/repos/kooba/nameko","forks_url":"https://api.github.com/repos/kooba/nameko/forks","keys_url":"https://api.github.com/repos/kooba/nameko/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kooba/nameko/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kooba/nameko/teams","hooks_url":"https://api.github.com/repos/kooba/nameko/hooks","issue_events_url":"https://api.github.com/repos/kooba/nameko/issues/events{/number}","events_url":"https://api.github.com/repos/kooba/nameko/events","assignees_url":"https://api.github.com/repos/kooba/nameko/assignees{/user}","branches_url":"https://api.github.com/repos/kooba/nameko/branches{/branch}","tags_url":"https://api.github.com/repos/kooba/nameko/tags","blobs_url":"https://api.github.com/repos/kooba/nameko/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kooba/nameko/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kooba/nameko/git/refs{/sha}","trees_url":"https://api.github.com/repos/kooba/nameko/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kooba/nameko/statuses/{sha}","languages_url":"https://api.github.com/repos/kooba/nameko/languages","stargazers_url":"https://api.github.com/repos/kooba/nameko/stargazers","contributors_url":"https://api.github.com/repos/kooba/nameko/contributors","subscribers_url":"https://api.github.com/repos/kooba/nameko/subscribers","subscription_url":"https://api.github.com/repos/kooba/nameko/subscription","commits_url":"https://api.github.com/repos/kooba/nameko/commits{/sha}","git_commits_url":"https://api.github.com/repos/kooba/nameko/git/commits{/sha}","comments_url":"https://api.github.com/repos/kooba/nameko/comments{/number}","issue_comment_url":"https://api.github.com/repos/kooba/nameko/issues/comments{/number}","contents_url":"https://api.github.com/repos/kooba/nameko/contents/{+path}","compare_url":"https://api.github.com/repos/kooba/nameko/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kooba/nameko/merges","archive_url":"https://api.github.com/repos/kooba/nameko/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kooba/nameko/downloads","issues_url":"https://api.github.com/repos/kooba/nameko/issues{/number}","pulls_url":"https://api.github.com/repos/kooba/nameko/pulls{/number}","milestones_url":"https://api.github.com/repos/kooba/nameko/milestones{/number}","notifications_url":"https://api.github.com/repos/kooba/nameko/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kooba/nameko/labels{/name}","releases_url":"https://api.github.com/repos/kooba/nameko/releases{/id}","created_at":"2015-08-05T14:55:46Z","updated_at":"2015-08-05T14:55:47Z","pushed_at":"2015-11-02T10:50:52Z","git_url":"git://github.com/kooba/nameko.git","ssh_url":"git@github.com:kooba/nameko.git","clone_url":"https://github.com/kooba/nameko.git","svn_url":"https://github.com/kooba/nameko","homepage":"https://nameko.readthedocs.org","size":2139,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"onefinestay:master","ref":"master","sha":"f5d1f2c5edc0f771475790e4629ccdde9421d87a","user":{"login":"onefinestay","id":634153,"avatar_url":"https://avatars.githubusercontent.com/u/634153?v=3","gravatar_id":"","url":"https://api.github.com/users/onefinestay","html_url":"https://github.com/onefinestay","followers_url":"https://api.github.com/users/onefinestay/followers","following_url":"https://api.github.com/users/onefinestay/following{/other_user}","gists_url":"https://api.github.com/users/onefinestay/gists{/gist_id}","starred_url":"https://api.github.com/users/onefinestay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onefinestay/subscriptions","organizations_url":"https://api.github.com/users/onefinestay/orgs","repos_url":"https://api.github.com/users/onefinestay/repos","events_url":"https://api.github.com/users/onefinestay/events{/privacy}","received_events_url":"https://api.github.com/users/onefinestay/received_events","type":"Organization","site_admin":false},"repo":{"id":8431589,"name":"nameko","full_name":"onefinestay/nameko","owner":{"login":"onefinestay","id":634153,"avatar_url":"https://avatars.githubusercontent.com/u/634153?v=3","gravatar_id":"","url":"https://api.github.com/users/onefinestay","html_url":"https://github.com/onefinestay","followers_url":"https://api.github.com/users/onefinestay/followers","following_url":"https://api.github.com/users/onefinestay/following{/other_user}","gists_url":"https://api.github.com/users/onefinestay/gists{/gist_id}","starred_url":"https://api.github.com/users/onefinestay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onefinestay/subscriptions","organizations_url":"https://api.github.com/users/onefinestay/orgs","repos_url":"https://api.github.com/users/onefinestay/repos","events_url":"https://api.github.com/users/onefinestay/events{/privacy}","received_events_url":"https://api.github.com/users/onefinestay/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/onefinestay/nameko","description":"Python framework for building microservices","fork":false,"url":"https://api.github.com/repos/onefinestay/nameko","forks_url":"https://api.github.com/repos/onefinestay/nameko/forks","keys_url":"https://api.github.com/repos/onefinestay/nameko/keys{/key_id}","collaborators_url":"https://api.github.com/repos/onefinestay/nameko/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/onefinestay/nameko/teams","hooks_url":"https://api.github.com/repos/onefinestay/nameko/hooks","issue_events_url":"https://api.github.com/repos/onefinestay/nameko/issues/events{/number}","events_url":"https://api.github.com/repos/onefinestay/nameko/events","assignees_url":"https://api.github.com/repos/onefinestay/nameko/assignees{/user}","branches_url":"https://api.github.com/repos/onefinestay/nameko/branches{/branch}","tags_url":"https://api.github.com/repos/onefinestay/nameko/tags","blobs_url":"https://api.github.com/repos/onefinestay/nameko/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/onefinestay/nameko/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/onefinestay/nameko/git/refs{/sha}","trees_url":"https://api.github.com/repos/onefinestay/nameko/git/trees{/sha}","statuses_url":"https://api.github.com/repos/onefinestay/nameko/statuses/{sha}","languages_url":"https://api.github.com/repos/onefinestay/nameko/languages","stargazers_url":"https://api.github.com/repos/onefinestay/nameko/stargazers","contributors_url":"https://api.github.com/repos/onefinestay/nameko/contributors","subscribers_url":"https://api.github.com/repos/onefinestay/nameko/subscribers","subscription_url":"https://api.github.com/repos/onefinestay/nameko/subscription","commits_url":"https://api.github.com/repos/onefinestay/nameko/commits{/sha}","git_commits_url":"https://api.github.com/repos/onefinestay/nameko/git/commits{/sha}","comments_url":"https://api.github.com/repos/onefinestay/nameko/comments{/number}","issue_comment_url":"https://api.github.com/repos/onefinestay/nameko/issues/comments{/number}","contents_url":"https://api.github.com/repos/onefinestay/nameko/contents/{+path}","compare_url":"https://api.github.com/repos/onefinestay/nameko/compare/{base}...{head}","merges_url":"https://api.github.com/repos/onefinestay/nameko/merges","archive_url":"https://api.github.com/repos/onefinestay/nameko/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/onefinestay/nameko/downloads","issues_url":"https://api.github.com/repos/onefinestay/nameko/issues{/number}","pulls_url":"https://api.github.com/repos/onefinestay/nameko/pulls{/number}","milestones_url":"https://api.github.com/repos/onefinestay/nameko/milestones{/number}","notifications_url":"https://api.github.com/repos/onefinestay/nameko/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/onefinestay/nameko/labels{/name}","releases_url":"https://api.github.com/repos/onefinestay/nameko/releases{/id}","created_at":"2013-02-26T11:59:08Z","updated_at":"2015-11-02T08:06:54Z","pushed_at":"2015-10-28T21:16:41Z","git_url":"git://github.com/onefinestay/nameko.git","ssh_url":"git@github.com:onefinestay/nameko.git","clone_url":"https://github.com/onefinestay/nameko.git","svn_url":"https://github.com/onefinestay/nameko","homepage":"https://nameko.readthedocs.org","size":5342,"stargazers_count":612,"watchers_count":612,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":42,"mirror_url":null,"open_issues_count":25,"forks":42,"open_issues":25,"watchers":612,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/onefinestay/nameko/pulls/291"},"html":{"href":"https://github.com/onefinestay/nameko/pull/291"},"issue":{"href":"https://api.github.com/repos/onefinestay/nameko/issues/291"},"comments":{"href":"https://api.github.com/repos/onefinestay/nameko/issues/291/comments"},"review_comments":{"href":"https://api.github.com/repos/onefinestay/nameko/pulls/291/comments"},"review_comment":{"href":"https://api.github.com/repos/onefinestay/nameko/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/onefinestay/nameko/pulls/291/commits"},"statuses":{"href":"https://api.github.com/repos/onefinestay/nameko/statuses/273ee9755648ee647b3b4b33f89b39094ce0f14a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":122,"deletions":39,"changed_files":3}}