{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/pulls/comments/88697115","pull_request_review_id":9265029,"id":88697115,"diff_hunk":"@@ -76,6 +76,19 @@ be used by Stackdriver Error Reporting to help group exceptions.\n    >>> except Exception:\n    >>>     client.report_exception(http_context=http_context, user=user))\n \n+An automatic helper to build the HTTP Context from a Flask (Werkzeug) request\n+object is provided.\n+\n+ .. code-block:: python\n+\n+    >>> @app.errorhandler(Exception)","path":"docs/error-reporting-usage.rst","position":9,"original_position":9,"commit_id":"346436646c0f46ed80ad0598f84307dd13290a65","original_commit_id":"346436646c0f46ed80ad0598f84307dd13290a65","user":{"login":"dhermes","id":520669,"avatar_url":"https://avatars.githubusercontent.com/u/520669?v=3","gravatar_id":"","url":"https://api.github.com/users/dhermes","html_url":"https://github.com/dhermes","followers_url":"https://api.github.com/users/dhermes/followers","following_url":"https://api.github.com/users/dhermes/following{/other_user}","gists_url":"https://api.github.com/users/dhermes/gists{/gist_id}","starred_url":"https://api.github.com/users/dhermes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhermes/subscriptions","organizations_url":"https://api.github.com/users/dhermes/orgs","repos_url":"https://api.github.com/users/dhermes/repos","events_url":"https://api.github.com/users/dhermes/events{/privacy}","received_events_url":"https://api.github.com/users/dhermes/received_events","type":"User","site_admin":false},"body":"Pretty please don't use `Exception`, `GoogleCloudError` could be the right choice?","created_at":"2016-11-18T17:08:48Z","updated_at":"2016-11-18T17:08:48Z","html_url":"https://github.com/GoogleCloudPlatform/google-cloud-python/pull/2751#discussion_r88697115","pull_request_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/pulls/2751","_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/pulls/comments/88697115"},"html":{"href":"https://github.com/GoogleCloudPlatform/google-cloud-python/pull/2751#discussion_r88697115"},"pull_request":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/pulls/2751"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/pulls/2751","id":94266465,"html_url":"https://github.com/GoogleCloudPlatform/google-cloud-python/pull/2751","diff_url":"https://github.com/GoogleCloudPlatform/google-cloud-python/pull/2751.diff","patch_url":"https://github.com/GoogleCloudPlatform/google-cloud-python/pull/2751.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/issues/2751","number":2751,"state":"open","locked":false,"title":"Add Flask Helper to Error Reporting","user":{"login":"waprin","id":1075173,"avatar_url":"https://avatars.githubusercontent.com/u/1075173?v=3","gravatar_id":"","url":"https://api.github.com/users/waprin","html_url":"https://github.com/waprin","followers_url":"https://api.github.com/users/waprin/followers","following_url":"https://api.github.com/users/waprin/following{/other_user}","gists_url":"https://api.github.com/users/waprin/gists{/gist_id}","starred_url":"https://api.github.com/users/waprin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waprin/subscriptions","organizations_url":"https://api.github.com/users/waprin/orgs","repos_url":"https://api.github.com/users/waprin/repos","events_url":"https://api.github.com/users/waprin/events{/privacy}","received_events_url":"https://api.github.com/users/waprin/received_events","type":"User","site_admin":false},"body":"cc / @steren","created_at":"2016-11-17T22:40:03Z","updated_at":"2016-11-18T17:16:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"83b7d2fd43f9d4647cc44d4e60c9e6b98e528399","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/pulls/2751/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/pulls/2751/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/issues/2751/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/statuses/346436646c0f46ed80ad0598f84307dd13290a65","head":{"label":"waprin:flask_errors","ref":"flask_errors","sha":"346436646c0f46ed80ad0598f84307dd13290a65","user":{"login":"waprin","id":1075173,"avatar_url":"https://avatars.githubusercontent.com/u/1075173?v=3","gravatar_id":"","url":"https://api.github.com/users/waprin","html_url":"https://github.com/waprin","followers_url":"https://api.github.com/users/waprin/followers","following_url":"https://api.github.com/users/waprin/following{/other_user}","gists_url":"https://api.github.com/users/waprin/gists{/gist_id}","starred_url":"https://api.github.com/users/waprin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waprin/subscriptions","organizations_url":"https://api.github.com/users/waprin/orgs","repos_url":"https://api.github.com/users/waprin/repos","events_url":"https://api.github.com/users/waprin/events{/privacy}","received_events_url":"https://api.github.com/users/waprin/received_events","type":"User","site_admin":false},"repo":{"id":60732333,"name":"google-cloud-python","full_name":"waprin/google-cloud-python","owner":{"login":"waprin","id":1075173,"avatar_url":"https://avatars.githubusercontent.com/u/1075173?v=3","gravatar_id":"","url":"https://api.github.com/users/waprin","html_url":"https://github.com/waprin","followers_url":"https://api.github.com/users/waprin/followers","following_url":"https://api.github.com/users/waprin/following{/other_user}","gists_url":"https://api.github.com/users/waprin/gists{/gist_id}","starred_url":"https://api.github.com/users/waprin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waprin/subscriptions","organizations_url":"https://api.github.com/users/waprin/orgs","repos_url":"https://api.github.com/users/waprin/repos","events_url":"https://api.github.com/users/waprin/events{/privacy}","received_events_url":"https://api.github.com/users/waprin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/waprin/google-cloud-python","description":"Google Cloud Client Library for Python","fork":true,"url":"https://api.github.com/repos/waprin/google-cloud-python","forks_url":"https://api.github.com/repos/waprin/google-cloud-python/forks","keys_url":"https://api.github.com/repos/waprin/google-cloud-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/waprin/google-cloud-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/waprin/google-cloud-python/teams","hooks_url":"https://api.github.com/repos/waprin/google-cloud-python/hooks","issue_events_url":"https://api.github.com/repos/waprin/google-cloud-python/issues/events{/number}","events_url":"https://api.github.com/repos/waprin/google-cloud-python/events","assignees_url":"https://api.github.com/repos/waprin/google-cloud-python/assignees{/user}","branches_url":"https://api.github.com/repos/waprin/google-cloud-python/branches{/branch}","tags_url":"https://api.github.com/repos/waprin/google-cloud-python/tags","blobs_url":"https://api.github.com/repos/waprin/google-cloud-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/waprin/google-cloud-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/waprin/google-cloud-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/waprin/google-cloud-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/waprin/google-cloud-python/statuses/{sha}","languages_url":"https://api.github.com/repos/waprin/google-cloud-python/languages","stargazers_url":"https://api.github.com/repos/waprin/google-cloud-python/stargazers","contributors_url":"https://api.github.com/repos/waprin/google-cloud-python/contributors","subscribers_url":"https://api.github.com/repos/waprin/google-cloud-python/subscribers","subscription_url":"https://api.github.com/repos/waprin/google-cloud-python/subscription","commits_url":"https://api.github.com/repos/waprin/google-cloud-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/waprin/google-cloud-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/waprin/google-cloud-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/waprin/google-cloud-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/waprin/google-cloud-python/contents/{+path}","compare_url":"https://api.github.com/repos/waprin/google-cloud-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/waprin/google-cloud-python/merges","archive_url":"https://api.github.com/repos/waprin/google-cloud-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/waprin/google-cloud-python/downloads","issues_url":"https://api.github.com/repos/waprin/google-cloud-python/issues{/number}","pulls_url":"https://api.github.com/repos/waprin/google-cloud-python/pulls{/number}","milestones_url":"https://api.github.com/repos/waprin/google-cloud-python/milestones{/number}","notifications_url":"https://api.github.com/repos/waprin/google-cloud-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/waprin/google-cloud-python/labels{/name}","releases_url":"https://api.github.com/repos/waprin/google-cloud-python/releases{/id}","deployments_url":"https://api.github.com/repos/waprin/google-cloud-python/deployments","created_at":"2016-06-08T21:34:51Z","updated_at":"2016-11-04T20:31:06Z","pushed_at":"2016-11-18T00:26:50Z","git_url":"git://github.com/waprin/google-cloud-python.git","ssh_url":"git@github.com:waprin/google-cloud-python.git","clone_url":"https://github.com/waprin/google-cloud-python.git","svn_url":"https://github.com/waprin/google-cloud-python","homepage":"https://googlecloudplatform.github.io/gcloud-python/","size":57892,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"GoogleCloudPlatform:master","ref":"master","sha":"a10cf56445b51750c4d9bc1f3b5bde2522f92caf","user":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":16316451,"name":"google-cloud-python","full_name":"GoogleCloudPlatform/google-cloud-python","owner":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleCloudPlatform/google-cloud-python","description":"Google Cloud Client Library for Python","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/deployments","created_at":"2014-01-28T15:51:47Z","updated_at":"2016-11-17T14:04:48Z","pushed_at":"2016-11-18T14:56:19Z","git_url":"git://github.com/GoogleCloudPlatform/google-cloud-python.git","ssh_url":"git@github.com:GoogleCloudPlatform/google-cloud-python.git","clone_url":"https://github.com/GoogleCloudPlatform/google-cloud-python.git","svn_url":"https://github.com/GoogleCloudPlatform/google-cloud-python","homepage":"https://googlecloudplatform.github.io/google-cloud-python/","size":103483,"stargazers_count":452,"watchers_count":452,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":231,"mirror_url":null,"open_issues_count":267,"forks":231,"open_issues":267,"watchers":452,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/pulls/2751"},"html":{"href":"https://github.com/GoogleCloudPlatform/google-cloud-python/pull/2751"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/issues/2751"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/issues/2751/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/pulls/2751/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/pulls/2751/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/statuses/346436646c0f46ed80ad0598f84307dd13290a65"}}}}
{"actor":{"display_login":"dhermes"}}