{"action":"created","comment":{"url":"https://api.github.com/repos/getsentry/sentry-javascript/pulls/comments/238506109","pull_request_review_id":181063087,"id":238506109,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzODUwNjEwOQ==","diff_hunk":"@@ -0,0 +1,86 @@\n+import { addGlobalEventProcessor, getCurrentHub } from '@sentry/hub';\n+import { Integration, SentryEvent, SentryEventHint } from '@sentry/types';\n+import { isError } from '@sentry/utils/is';\n+\n+/**\n+ * Just an Error object with arbitrary attributes attached to it.\n+ */\n+interface ExtendedError extends Error {\n+  [key: string]: any;","path":"packages/core/src/integrations/extraerrordata.ts","position":9,"original_position":9,"commit_id":"162ea37f986bdbfcc358ada78e6e42659dd14ddb","original_commit_id":"162ea37f986bdbfcc358ada78e6e42659dd14ddb","user":{"login":"SimonSchick","id":3259089,"node_id":"MDQ6VXNlcjMyNTkwODk=","avatar_url":"https://avatars3.githubusercontent.com/u/3259089?v=4","gravatar_id":"","url":"https://api.github.com/users/SimonSchick","html_url":"https://github.com/SimonSchick","followers_url":"https://api.github.com/users/SimonSchick/followers","following_url":"https://api.github.com/users/SimonSchick/following{/other_user}","gists_url":"https://api.github.com/users/SimonSchick/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonSchick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonSchick/subscriptions","organizations_url":"https://api.github.com/users/SimonSchick/orgs","repos_url":"https://api.github.com/users/SimonSchick/repos","events_url":"https://api.github.com/users/SimonSchick/events{/privacy}","received_events_url":"https://api.github.com/users/SimonSchick/received_events","type":"User","site_admin":false},"body":"Not sure what your TS version is, but you might want to use `unknown`.","created_at":"2018-12-04T01:55:46Z","updated_at":"2018-12-04T01:56:00Z","html_url":"https://github.com/getsentry/sentry-javascript/pull/1778#discussion_r238506109","pull_request_url":"https://api.github.com/repos/getsentry/sentry-javascript/pulls/1778","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/getsentry/sentry-javascript/pulls/comments/238506109"},"html":{"href":"https://github.com/getsentry/sentry-javascript/pull/1778#discussion_r238506109"},"pull_request":{"href":"https://api.github.com/repos/getsentry/sentry-javascript/pulls/1778"}}},"pull_request":{"url":"https://api.github.com/repos/getsentry/sentry-javascript/pulls/1778","id":235440814,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM1NDQwODE0","html_url":"https://github.com/getsentry/sentry-javascript/pull/1778","diff_url":"https://github.com/getsentry/sentry-javascript/pull/1778.diff","patch_url":"https://github.com/getsentry/sentry-javascript/pull/1778.patch","issue_url":"https://api.github.com/repos/getsentry/sentry-javascript/issues/1778","number":1778,"state":"open","locked":false,"title":"feat: core ExtraErrorData integration","user":{"login":"kamilogorek","id":1523305,"node_id":"MDQ6VXNlcjE1MjMzMDU=","avatar_url":"https://avatars3.githubusercontent.com/u/1523305?v=4","gravatar_id":"","url":"https://api.github.com/users/kamilogorek","html_url":"https://github.com/kamilogorek","followers_url":"https://api.github.com/users/kamilogorek/followers","following_url":"https://api.github.com/users/kamilogorek/following{/other_user}","gists_url":"https://api.github.com/users/kamilogorek/gists{/gist_id}","starred_url":"https://api.github.com/users/kamilogorek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamilogorek/subscriptions","organizations_url":"https://api.github.com/users/kamilogorek/orgs","repos_url":"https://api.github.com/users/kamilogorek/repos","events_url":"https://api.github.com/users/kamilogorek/events{/privacy}","received_events_url":"https://api.github.com/users/kamilogorek/received_events","type":"User","site_admin":false},"body":"Fixes https://github.com/getsentry/sentry-javascript/issues/1777 in a global manner, instead of piling more code in browser package.\r\n\r\nTODO: Update https://docs.sentry.io/platforms/javascript/default-integrations/ after it gets merged","created_at":"2018-12-03T13:07:21Z","updated_at":"2018-12-04T01:56:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"320cf19a2346ba6161caa275990eb3bf8fc081b3","assignee":null,"assignees":[],"requested_reviewers":[{"login":"HazAT","id":363802,"node_id":"MDQ6VXNlcjM2MzgwMg==","avatar_url":"https://avatars2.githubusercontent.com/u/363802?v=4","gravatar_id":"","url":"https://api.github.com/users/HazAT","html_url":"https://github.com/HazAT","followers_url":"https://api.github.com/users/HazAT/followers","following_url":"https://api.github.com/users/HazAT/following{/other_user}","gists_url":"https://api.github.com/users/HazAT/gists{/gist_id}","starred_url":"https://api.github.com/users/HazAT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HazAT/subscriptions","organizations_url":"https://api.github.com/users/HazAT/orgs","repos_url":"https://api.github.com/users/HazAT/repos","events_url":"https://api.github.com/users/HazAT/events{/privacy}","received_events_url":"https://api.github.com/users/HazAT/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/getsentry/sentry-javascript/pulls/1778/commits","review_comments_url":"https://api.github.com/repos/getsentry/sentry-javascript/pulls/1778/comments","review_comment_url":"https://api.github.com/repos/getsentry/sentry-javascript/pulls/comments{/number}","comments_url":"https://api.github.com/repos/getsentry/sentry-javascript/issues/1778/comments","statuses_url":"https://api.github.com/repos/getsentry/sentry-javascript/statuses/162ea37f986bdbfcc358ada78e6e42659dd14ddb","head":{"label":"getsentry:extra-error-data","ref":"extra-error-data","sha":"162ea37f986bdbfcc358ada78e6e42659dd14ddb","user":{"login":"getsentry","id":1396951,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzOTY5NTE=","avatar_url":"https://avatars0.githubusercontent.com/u/1396951?v=4","gravatar_id":"","url":"https://api.github.com/users/getsentry","html_url":"https://github.com/getsentry","followers_url":"https://api.github.com/users/getsentry/followers","following_url":"https://api.github.com/users/getsentry/following{/other_user}","gists_url":"https://api.github.com/users/getsentry/gists{/gist_id}","starred_url":"https://api.github.com/users/getsentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/getsentry/subscriptions","organizations_url":"https://api.github.com/users/getsentry/orgs","repos_url":"https://api.github.com/users/getsentry/repos","events_url":"https://api.github.com/users/getsentry/events{/privacy}","received_events_url":"https://api.github.com/users/getsentry/received_events","type":"Organization","site_admin":false},"repo":{"id":3328572,"node_id":"MDEwOlJlcG9zaXRvcnkzMzI4NTcy","name":"sentry-javascript","full_name":"getsentry/sentry-javascript","private":false,"owner":{"login":"getsentry","id":1396951,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzOTY5NTE=","avatar_url":"https://avatars0.githubusercontent.com/u/1396951?v=4","gravatar_id":"","url":"https://api.github.com/users/getsentry","html_url":"https://github.com/getsentry","followers_url":"https://api.github.com/users/getsentry/followers","following_url":"https://api.github.com/users/getsentry/following{/other_user}","gists_url":"https://api.github.com/users/getsentry/gists{/gist_id}","starred_url":"https://api.github.com/users/getsentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/getsentry/subscriptions","organizations_url":"https://api.github.com/users/getsentry/orgs","repos_url":"https://api.github.com/users/getsentry/repos","events_url":"https://api.github.com/users/getsentry/events{/privacy}","received_events_url":"https://api.github.com/users/getsentry/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/getsentry/sentry-javascript","description":"Official Sentry SDKs for Javascript","fork":false,"url":"https://api.github.com/repos/getsentry/sentry-javascript","forks_url":"https://api.github.com/repos/getsentry/sentry-javascript/forks","keys_url":"https://api.github.com/repos/getsentry/sentry-javascript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/getsentry/sentry-javascript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/getsentry/sentry-javascript/teams","hooks_url":"https://api.github.com/repos/getsentry/sentry-javascript/hooks","issue_events_url":"https://api.github.com/repos/getsentry/sentry-javascript/issues/events{/number}","events_url":"https://api.github.com/repos/getsentry/sentry-javascript/events","assignees_url":"https://api.github.com/repos/getsentry/sentry-javascript/assignees{/user}","branches_url":"https://api.github.com/repos/getsentry/sentry-javascript/branches{/branch}","tags_url":"https://api.github.com/repos/getsentry/sentry-javascript/tags","blobs_url":"https://api.github.com/repos/getsentry/sentry-javascript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/getsentry/sentry-javascript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/getsentry/sentry-javascript/git/refs{/sha}","trees_url":"https://api.github.com/repos/getsentry/sentry-javascript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/getsentry/sentry-javascript/statuses/{sha}","languages_url":"https://api.github.com/repos/getsentry/sentry-javascript/languages","stargazers_url":"https://api.github.com/repos/getsentry/sentry-javascript/stargazers","contributors_url":"https://api.github.com/repos/getsentry/sentry-javascript/contributors","subscribers_url":"https://api.github.com/repos/getsentry/sentry-javascript/subscribers","subscription_url":"https://api.github.com/repos/getsentry/sentry-javascript/subscription","commits_url":"https://api.github.com/repos/getsentry/sentry-javascript/commits{/sha}","git_commits_url":"https://api.github.com/repos/getsentry/sentry-javascript/git/commits{/sha}","comments_url":"https://api.github.com/repos/getsentry/sentry-javascript/comments{/number}","issue_comment_url":"https://api.github.com/repos/getsentry/sentry-javascript/issues/comments{/number}","contents_url":"https://api.github.com/repos/getsentry/sentry-javascript/contents/{+path}","compare_url":"https://api.github.com/repos/getsentry/sentry-javascript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/getsentry/sentry-javascript/merges","archive_url":"https://api.github.com/repos/getsentry/sentry-javascript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/getsentry/sentry-javascript/downloads","issues_url":"https://api.github.com/repos/getsentry/sentry-javascript/issues{/number}","pulls_url":"https://api.github.com/repos/getsentry/sentry-javascript/pulls{/number}","milestones_url":"https://api.github.com/repos/getsentry/sentry-javascript/milestones{/number}","notifications_url":"https://api.github.com/repos/getsentry/sentry-javascript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/getsentry/sentry-javascript/labels{/name}","releases_url":"https://api.github.com/repos/getsentry/sentry-javascript/releases{/id}","deployments_url":"https://api.github.com/repos/getsentry/sentry-javascript/deployments","created_at":"2012-02-01T20:16:25Z","updated_at":"2018-12-03T18:12:29Z","pushed_at":"2018-12-03T18:12:26Z","git_url":"git://github.com/getsentry/sentry-javascript.git","ssh_url":"git@github.com:getsentry/sentry-javascript.git","clone_url":"https://github.com/getsentry/sentry-javascript.git","svn_url":"https://github.com/getsentry/sentry-javascript","homepage":"https://sentry.io","size":13507,"stargazers_count":3124,"watchers_count":3124,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":638,"mirror_url":null,"archived":false,"open_issues_count":33,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":638,"open_issues":33,"watchers":3124,"default_branch":"master"}},"base":{"label":"getsentry:master","ref":"master","sha":"c9d6fc6d71c7583baff73dea0ff12c03e9ac9367","user":{"login":"getsentry","id":1396951,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzOTY5NTE=","avatar_url":"https://avatars0.githubusercontent.com/u/1396951?v=4","gravatar_id":"","url":"https://api.github.com/users/getsentry","html_url":"https://github.com/getsentry","followers_url":"https://api.github.com/users/getsentry/followers","following_url":"https://api.github.com/users/getsentry/following{/other_user}","gists_url":"https://api.github.com/users/getsentry/gists{/gist_id}","starred_url":"https://api.github.com/users/getsentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/getsentry/subscriptions","organizations_url":"https://api.github.com/users/getsentry/orgs","repos_url":"https://api.github.com/users/getsentry/repos","events_url":"https://api.github.com/users/getsentry/events{/privacy}","received_events_url":"https://api.github.com/users/getsentry/received_events","type":"Organization","site_admin":false},"repo":{"id":3328572,"node_id":"MDEwOlJlcG9zaXRvcnkzMzI4NTcy","name":"sentry-javascript","full_name":"getsentry/sentry-javascript","private":false,"owner":{"login":"getsentry","id":1396951,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzOTY5NTE=","avatar_url":"https://avatars0.githubusercontent.com/u/1396951?v=4","gravatar_id":"","url":"https://api.github.com/users/getsentry","html_url":"https://github.com/getsentry","followers_url":"https://api.github.com/users/getsentry/followers","following_url":"https://api.github.com/users/getsentry/following{/other_user}","gists_url":"https://api.github.com/users/getsentry/gists{/gist_id}","starred_url":"https://api.github.com/users/getsentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/getsentry/subscriptions","organizations_url":"https://api.github.com/users/getsentry/orgs","repos_url":"https://api.github.com/users/getsentry/repos","events_url":"https://api.github.com/users/getsentry/events{/privacy}","received_events_url":"https://api.github.com/users/getsentry/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/getsentry/sentry-javascript","description":"Official Sentry SDKs for Javascript","fork":false,"url":"https://api.github.com/repos/getsentry/sentry-javascript","forks_url":"https://api.github.com/repos/getsentry/sentry-javascript/forks","keys_url":"https://api.github.com/repos/getsentry/sentry-javascript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/getsentry/sentry-javascript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/getsentry/sentry-javascript/teams","hooks_url":"https://api.github.com/repos/getsentry/sentry-javascript/hooks","issue_events_url":"https://api.github.com/repos/getsentry/sentry-javascript/issues/events{/number}","events_url":"https://api.github.com/repos/getsentry/sentry-javascript/events","assignees_url":"https://api.github.com/repos/getsentry/sentry-javascript/assignees{/user}","branches_url":"https://api.github.com/repos/getsentry/sentry-javascript/branches{/branch}","tags_url":"https://api.github.com/repos/getsentry/sentry-javascript/tags","blobs_url":"https://api.github.com/repos/getsentry/sentry-javascript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/getsentry/sentry-javascript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/getsentry/sentry-javascript/git/refs{/sha}","trees_url":"https://api.github.com/repos/getsentry/sentry-javascript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/getsentry/sentry-javascript/statuses/{sha}","languages_url":"https://api.github.com/repos/getsentry/sentry-javascript/languages","stargazers_url":"https://api.github.com/repos/getsentry/sentry-javascript/stargazers","contributors_url":"https://api.github.com/repos/getsentry/sentry-javascript/contributors","subscribers_url":"https://api.github.com/repos/getsentry/sentry-javascript/subscribers","subscription_url":"https://api.github.com/repos/getsentry/sentry-javascript/subscription","commits_url":"https://api.github.com/repos/getsentry/sentry-javascript/commits{/sha}","git_commits_url":"https://api.github.com/repos/getsentry/sentry-javascript/git/commits{/sha}","comments_url":"https://api.github.com/repos/getsentry/sentry-javascript/comments{/number}","issue_comment_url":"https://api.github.com/repos/getsentry/sentry-javascript/issues/comments{/number}","contents_url":"https://api.github.com/repos/getsentry/sentry-javascript/contents/{+path}","compare_url":"https://api.github.com/repos/getsentry/sentry-javascript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/getsentry/sentry-javascript/merges","archive_url":"https://api.github.com/repos/getsentry/sentry-javascript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/getsentry/sentry-javascript/downloads","issues_url":"https://api.github.com/repos/getsentry/sentry-javascript/issues{/number}","pulls_url":"https://api.github.com/repos/getsentry/sentry-javascript/pulls{/number}","milestones_url":"https://api.github.com/repos/getsentry/sentry-javascript/milestones{/number}","notifications_url":"https://api.github.com/repos/getsentry/sentry-javascript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/getsentry/sentry-javascript/labels{/name}","releases_url":"https://api.github.com/repos/getsentry/sentry-javascript/releases{/id}","deployments_url":"https://api.github.com/repos/getsentry/sentry-javascript/deployments","created_at":"2012-02-01T20:16:25Z","updated_at":"2018-12-03T18:12:29Z","pushed_at":"2018-12-03T18:12:26Z","git_url":"git://github.com/getsentry/sentry-javascript.git","ssh_url":"git@github.com:getsentry/sentry-javascript.git","clone_url":"https://github.com/getsentry/sentry-javascript.git","svn_url":"https://github.com/getsentry/sentry-javascript","homepage":"https://sentry.io","size":13507,"stargazers_count":3124,"watchers_count":3124,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":638,"mirror_url":null,"archived":false,"open_issues_count":33,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":638,"open_issues":33,"watchers":3124,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/getsentry/sentry-javascript/pulls/1778"},"html":{"href":"https://github.com/getsentry/sentry-javascript/pull/1778"},"issue":{"href":"https://api.github.com/repos/getsentry/sentry-javascript/issues/1778"},"comments":{"href":"https://api.github.com/repos/getsentry/sentry-javascript/issues/1778/comments"},"review_comments":{"href":"https://api.github.com/repos/getsentry/sentry-javascript/pulls/1778/comments"},"review_comment":{"href":"https://api.github.com/repos/getsentry/sentry-javascript/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/getsentry/sentry-javascript/pulls/1778/commits"},"statuses":{"href":"https://api.github.com/repos/getsentry/sentry-javascript/statuses/162ea37f986bdbfcc358ada78e6e42659dd14ddb"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"SimonSchick"}}