{"action":"opened","number":29,"pull_request":{"url":"https://api.github.com/repos/cdent/gabbi/pulls/29","id":32891841,"html_url":"https://github.com/cdent/gabbi/pull/29","diff_url":"https://github.com/cdent/gabbi/pull/29.diff","patch_url":"https://github.com/cdent/gabbi/pull/29.patch","issue_url":"https://api.github.com/repos/cdent/gabbi/issues/29","number":29,"state":"open","locked":false,"title":"Wrap the http request to trap WSGIAppError and reraise","user":{"login":"cdent","id":34498,"avatar_url":"https://avatars.githubusercontent.com/u/34498?v=3","gravatar_id":"","url":"https://api.github.com/users/cdent","html_url":"https://github.com/cdent","followers_url":"https://api.github.com/users/cdent/followers","following_url":"https://api.github.com/users/cdent/following{/other_user}","gists_url":"https://api.github.com/users/cdent/gists{/gist_id}","starred_url":"https://api.github.com/users/cdent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdent/subscriptions","organizations_url":"https://api.github.com/users/cdent/orgs","repos_url":"https://api.github.com/users/cdent/repos","events_url":"https://api.github.com/users/cdent/events{/privacy}","received_events_url":"https://api.github.com/users/cdent/received_events","type":"User","site_admin":false},"body":"To create a strong boundary between the client and the server,\r\nwsgi-intercept wraps exceptions raised in the intercepted app in a\r\nWSGIAppError. In most situations this is a good thing. However if\r\ngabbi is being used to do TDD against a nascent API this behavior\r\ncan obscure useful traceback information when there is a\r\ncatastrophic and untrapped exception in the server code.\r\n\r\nTo deal with this the WSGIAppError is caught and the contained\r\nexception is reraised in all its glory to spew into STDERR for\r\ndebugging purposes.","created_at":"2015-04-08T19:10:30Z","updated_at":"2015-04-08T19:10:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cdent/gabbi/pulls/29/commits","review_comments_url":"https://api.github.com/repos/cdent/gabbi/pulls/29/comments","review_comment_url":"https://api.github.com/repos/cdent/gabbi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cdent/gabbi/issues/29/comments","statuses_url":"https://api.github.com/repos/cdent/gabbi/statuses/5b2ac224bdac7a341e461ccaf7c48fb6fa36cfed","head":{"label":"cdent:better-traceback","ref":"better-traceback","sha":"5b2ac224bdac7a341e461ccaf7c48fb6fa36cfed","user":{"login":"cdent","id":34498,"avatar_url":"https://avatars.githubusercontent.com/u/34498?v=3","gravatar_id":"","url":"https://api.github.com/users/cdent","html_url":"https://github.com/cdent","followers_url":"https://api.github.com/users/cdent/followers","following_url":"https://api.github.com/users/cdent/following{/other_user}","gists_url":"https://api.github.com/users/cdent/gists{/gist_id}","starred_url":"https://api.github.com/users/cdent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdent/subscriptions","organizations_url":"https://api.github.com/users/cdent/orgs","repos_url":"https://api.github.com/users/cdent/repos","events_url":"https://api.github.com/users/cdent/events{/privacy}","received_events_url":"https://api.github.com/users/cdent/received_events","type":"User","site_admin":false},"repo":{"id":27924304,"name":"gabbi","full_name":"cdent/gabbi","owner":{"login":"cdent","id":34498,"avatar_url":"https://avatars.githubusercontent.com/u/34498?v=3","gravatar_id":"","url":"https://api.github.com/users/cdent","html_url":"https://github.com/cdent","followers_url":"https://api.github.com/users/cdent/followers","following_url":"https://api.github.com/users/cdent/following{/other_user}","gists_url":"https://api.github.com/users/cdent/gists{/gist_id}","starred_url":"https://api.github.com/users/cdent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdent/subscriptions","organizations_url":"https://api.github.com/users/cdent/orgs","repos_url":"https://api.github.com/users/cdent/repos","events_url":"https://api.github.com/users/cdent/events{/privacy}","received_events_url":"https://api.github.com/users/cdent/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cdent/gabbi","description":"Declarative HTTP Testing for Python","fork":false,"url":"https://api.github.com/repos/cdent/gabbi","forks_url":"https://api.github.com/repos/cdent/gabbi/forks","keys_url":"https://api.github.com/repos/cdent/gabbi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cdent/gabbi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cdent/gabbi/teams","hooks_url":"https://api.github.com/repos/cdent/gabbi/hooks","issue_events_url":"https://api.github.com/repos/cdent/gabbi/issues/events{/number}","events_url":"https://api.github.com/repos/cdent/gabbi/events","assignees_url":"https://api.github.com/repos/cdent/gabbi/assignees{/user}","branches_url":"https://api.github.com/repos/cdent/gabbi/branches{/branch}","tags_url":"https://api.github.com/repos/cdent/gabbi/tags","blobs_url":"https://api.github.com/repos/cdent/gabbi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cdent/gabbi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cdent/gabbi/git/refs{/sha}","trees_url":"https://api.github.com/repos/cdent/gabbi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cdent/gabbi/statuses/{sha}","languages_url":"https://api.github.com/repos/cdent/gabbi/languages","stargazers_url":"https://api.github.com/repos/cdent/gabbi/stargazers","contributors_url":"https://api.github.com/repos/cdent/gabbi/contributors","subscribers_url":"https://api.github.com/repos/cdent/gabbi/subscribers","subscription_url":"https://api.github.com/repos/cdent/gabbi/subscription","commits_url":"https://api.github.com/repos/cdent/gabbi/commits{/sha}","git_commits_url":"https://api.github.com/repos/cdent/gabbi/git/commits{/sha}","comments_url":"https://api.github.com/repos/cdent/gabbi/comments{/number}","issue_comment_url":"https://api.github.com/repos/cdent/gabbi/issues/comments{/number}","contents_url":"https://api.github.com/repos/cdent/gabbi/contents/{+path}","compare_url":"https://api.github.com/repos/cdent/gabbi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cdent/gabbi/merges","archive_url":"https://api.github.com/repos/cdent/gabbi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cdent/gabbi/downloads","issues_url":"https://api.github.com/repos/cdent/gabbi/issues{/number}","pulls_url":"https://api.github.com/repos/cdent/gabbi/pulls{/number}","milestones_url":"https://api.github.com/repos/cdent/gabbi/milestones{/number}","notifications_url":"https://api.github.com/repos/cdent/gabbi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cdent/gabbi/labels{/name}","releases_url":"https://api.github.com/repos/cdent/gabbi/releases{/id}","created_at":"2014-12-12T14:46:59Z","updated_at":"2015-04-07T16:07:59Z","pushed_at":"2015-04-08T19:08:41Z","git_url":"git://github.com/cdent/gabbi.git","ssh_url":"git@github.com:cdent/gabbi.git","clone_url":"https://github.com/cdent/gabbi.git","svn_url":"https://github.com/cdent/gabbi","homepage":null,"size":975,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":6,"forks":6,"open_issues":6,"watchers":2,"default_branch":"master"}},"base":{"label":"cdent:master","ref":"master","sha":"d7871e038bbdb8525cfa14833982c1a4f4197a44","user":{"login":"cdent","id":34498,"avatar_url":"https://avatars.githubusercontent.com/u/34498?v=3","gravatar_id":"","url":"https://api.github.com/users/cdent","html_url":"https://github.com/cdent","followers_url":"https://api.github.com/users/cdent/followers","following_url":"https://api.github.com/users/cdent/following{/other_user}","gists_url":"https://api.github.com/users/cdent/gists{/gist_id}","starred_url":"https://api.github.com/users/cdent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdent/subscriptions","organizations_url":"https://api.github.com/users/cdent/orgs","repos_url":"https://api.github.com/users/cdent/repos","events_url":"https://api.github.com/users/cdent/events{/privacy}","received_events_url":"https://api.github.com/users/cdent/received_events","type":"User","site_admin":false},"repo":{"id":27924304,"name":"gabbi","full_name":"cdent/gabbi","owner":{"login":"cdent","id":34498,"avatar_url":"https://avatars.githubusercontent.com/u/34498?v=3","gravatar_id":"","url":"https://api.github.com/users/cdent","html_url":"https://github.com/cdent","followers_url":"https://api.github.com/users/cdent/followers","following_url":"https://api.github.com/users/cdent/following{/other_user}","gists_url":"https://api.github.com/users/cdent/gists{/gist_id}","starred_url":"https://api.github.com/users/cdent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdent/subscriptions","organizations_url":"https://api.github.com/users/cdent/orgs","repos_url":"https://api.github.com/users/cdent/repos","events_url":"https://api.github.com/users/cdent/events{/privacy}","received_events_url":"https://api.github.com/users/cdent/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cdent/gabbi","description":"Declarative HTTP Testing for Python","fork":false,"url":"https://api.github.com/repos/cdent/gabbi","forks_url":"https://api.github.com/repos/cdent/gabbi/forks","keys_url":"https://api.github.com/repos/cdent/gabbi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cdent/gabbi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cdent/gabbi/teams","hooks_url":"https://api.github.com/repos/cdent/gabbi/hooks","issue_events_url":"https://api.github.com/repos/cdent/gabbi/issues/events{/number}","events_url":"https://api.github.com/repos/cdent/gabbi/events","assignees_url":"https://api.github.com/repos/cdent/gabbi/assignees{/user}","branches_url":"https://api.github.com/repos/cdent/gabbi/branches{/branch}","tags_url":"https://api.github.com/repos/cdent/gabbi/tags","blobs_url":"https://api.github.com/repos/cdent/gabbi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cdent/gabbi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cdent/gabbi/git/refs{/sha}","trees_url":"https://api.github.com/repos/cdent/gabbi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cdent/gabbi/statuses/{sha}","languages_url":"https://api.github.com/repos/cdent/gabbi/languages","stargazers_url":"https://api.github.com/repos/cdent/gabbi/stargazers","contributors_url":"https://api.github.com/repos/cdent/gabbi/contributors","subscribers_url":"https://api.github.com/repos/cdent/gabbi/subscribers","subscription_url":"https://api.github.com/repos/cdent/gabbi/subscription","commits_url":"https://api.github.com/repos/cdent/gabbi/commits{/sha}","git_commits_url":"https://api.github.com/repos/cdent/gabbi/git/commits{/sha}","comments_url":"https://api.github.com/repos/cdent/gabbi/comments{/number}","issue_comment_url":"https://api.github.com/repos/cdent/gabbi/issues/comments{/number}","contents_url":"https://api.github.com/repos/cdent/gabbi/contents/{+path}","compare_url":"https://api.github.com/repos/cdent/gabbi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cdent/gabbi/merges","archive_url":"https://api.github.com/repos/cdent/gabbi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cdent/gabbi/downloads","issues_url":"https://api.github.com/repos/cdent/gabbi/issues{/number}","pulls_url":"https://api.github.com/repos/cdent/gabbi/pulls{/number}","milestones_url":"https://api.github.com/repos/cdent/gabbi/milestones{/number}","notifications_url":"https://api.github.com/repos/cdent/gabbi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cdent/gabbi/labels{/name}","releases_url":"https://api.github.com/repos/cdent/gabbi/releases{/id}","created_at":"2014-12-12T14:46:59Z","updated_at":"2015-04-07T16:07:59Z","pushed_at":"2015-04-08T19:08:41Z","git_url":"git://github.com/cdent/gabbi.git","ssh_url":"git@github.com:cdent/gabbi.git","clone_url":"https://github.com/cdent/gabbi.git","svn_url":"https://github.com/cdent/gabbi","homepage":null,"size":975,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":6,"forks":6,"open_issues":6,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cdent/gabbi/pulls/29"},"html":{"href":"https://github.com/cdent/gabbi/pull/29"},"issue":{"href":"https://api.github.com/repos/cdent/gabbi/issues/29"},"comments":{"href":"https://api.github.com/repos/cdent/gabbi/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/cdent/gabbi/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/cdent/gabbi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cdent/gabbi/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/cdent/gabbi/statuses/5b2ac224bdac7a341e461ccaf7c48fb6fa36cfed"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":32,"deletions":11,"changed_files":4}}