{"action":"closed","number":5,"pull_request":{"url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/pulls/5","id":44998246,"html_url":"https://github.com/gaearon/react-transform-catch-errors/pull/5","diff_url":"https://github.com/gaearon/react-transform-catch-errors/pull/5.diff","patch_url":"https://github.com/gaearon/react-transform-catch-errors/pull/5.patch","issue_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/issues/5","number":5,"state":"closed","locked":false,"title":"pass filename to <ErrorReporter/>","user":{"login":"jedwards1211","id":1448194,"avatar_url":"https://avatars.githubusercontent.com/u/1448194?v=3","gravatar_id":"","url":"https://api.github.com/users/jedwards1211","html_url":"https://github.com/jedwards1211","followers_url":"https://api.github.com/users/jedwards1211/followers","following_url":"https://api.github.com/users/jedwards1211/following{/other_user}","gists_url":"https://api.github.com/users/jedwards1211/gists{/gist_id}","starred_url":"https://api.github.com/users/jedwards1211/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedwards1211/subscriptions","organizations_url":"https://api.github.com/users/jedwards1211/orgs","repos_url":"https://api.github.com/users/jedwards1211/repos","events_url":"https://api.github.com/users/jedwards1211/events{/privacy}","received_events_url":"https://api.github.com/users/jedwards1211/received_events","type":"User","site_admin":false},"body":"As discussed in https://github.com/jedwards1211/meteor-webpack-react/issues/40#issuecomment-140234107, the stack trace `redbox-react` prints doesn't have source maps applied when `devtool` is `'source-map'`.  `console.error(error.stack)` prints out the original file names and locations from the source map; I'm not yet sure if it uses something special that `error-stack-parser` could easily call, but `react-transform-catch-errors` can at least pass the filename to the `ErrorHandler`.","created_at":"2015-09-15T00:53:25Z","updated_at":"2015-09-15T00:57:58Z","closed_at":"2015-09-15T00:57:58Z","merged_at":"2015-09-15T00:57:58Z","merge_commit_sha":"87508ff21f5cccce92b469522221309b3bc2dbbf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/pulls/5/commits","review_comments_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/pulls/5/comments","review_comment_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/issues/5/comments","statuses_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/statuses/43874cac6cbb67e9461999047402840cc2c0b2ce","head":{"label":"jedwards1211:pass-filename","ref":"pass-filename","sha":"43874cac6cbb67e9461999047402840cc2c0b2ce","user":{"login":"jedwards1211","id":1448194,"avatar_url":"https://avatars.githubusercontent.com/u/1448194?v=3","gravatar_id":"","url":"https://api.github.com/users/jedwards1211","html_url":"https://github.com/jedwards1211","followers_url":"https://api.github.com/users/jedwards1211/followers","following_url":"https://api.github.com/users/jedwards1211/following{/other_user}","gists_url":"https://api.github.com/users/jedwards1211/gists{/gist_id}","starred_url":"https://api.github.com/users/jedwards1211/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedwards1211/subscriptions","organizations_url":"https://api.github.com/users/jedwards1211/orgs","repos_url":"https://api.github.com/users/jedwards1211/repos","events_url":"https://api.github.com/users/jedwards1211/events{/privacy}","received_events_url":"https://api.github.com/users/jedwards1211/received_events","type":"User","site_admin":false},"repo":{"id":42484793,"name":"react-transform-catch-errors","full_name":"jedwards1211/react-transform-catch-errors","owner":{"login":"jedwards1211","id":1448194,"avatar_url":"https://avatars.githubusercontent.com/u/1448194?v=3","gravatar_id":"","url":"https://api.github.com/users/jedwards1211","html_url":"https://github.com/jedwards1211","followers_url":"https://api.github.com/users/jedwards1211/followers","following_url":"https://api.github.com/users/jedwards1211/following{/other_user}","gists_url":"https://api.github.com/users/jedwards1211/gists{/gist_id}","starred_url":"https://api.github.com/users/jedwards1211/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedwards1211/subscriptions","organizations_url":"https://api.github.com/users/jedwards1211/orgs","repos_url":"https://api.github.com/users/jedwards1211/repos","events_url":"https://api.github.com/users/jedwards1211/events{/privacy}","received_events_url":"https://api.github.com/users/jedwards1211/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jedwards1211/react-transform-catch-errors","description":"React Transform that catches errors inside React components","fork":true,"url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors","forks_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/forks","keys_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/teams","hooks_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/hooks","issue_events_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/issues/events{/number}","events_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/events","assignees_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/assignees{/user}","branches_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/branches{/branch}","tags_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/tags","blobs_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/git/refs{/sha}","trees_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/statuses/{sha}","languages_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/languages","stargazers_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/stargazers","contributors_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/contributors","subscribers_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/subscribers","subscription_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/subscription","commits_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/commits{/sha}","git_commits_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/git/commits{/sha}","comments_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/comments{/number}","issue_comment_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/issues/comments{/number}","contents_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/contents/{+path}","compare_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/merges","archive_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/downloads","issues_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/issues{/number}","pulls_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/pulls{/number}","milestones_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/milestones{/number}","notifications_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/labels{/name}","releases_url":"https://api.github.com/repos/jedwards1211/react-transform-catch-errors/releases{/id}","created_at":"2015-09-15T00:24:54Z","updated_at":"2015-09-15T00:24:56Z","pushed_at":"2015-09-15T00:48:53Z","git_url":"git://github.com/jedwards1211/react-transform-catch-errors.git","ssh_url":"git@github.com:jedwards1211/react-transform-catch-errors.git","clone_url":"https://github.com/jedwards1211/react-transform-catch-errors.git","svn_url":"https://github.com/jedwards1211/react-transform-catch-errors","homepage":null,"size":144,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"gaearon:master","ref":"master","sha":"ca71621327cbb326e37b0f8f488d1d3e0f959083","user":{"login":"gaearon","id":810438,"avatar_url":"https://avatars.githubusercontent.com/u/810438?v=3","gravatar_id":"","url":"https://api.github.com/users/gaearon","html_url":"https://github.com/gaearon","followers_url":"https://api.github.com/users/gaearon/followers","following_url":"https://api.github.com/users/gaearon/following{/other_user}","gists_url":"https://api.github.com/users/gaearon/gists{/gist_id}","starred_url":"https://api.github.com/users/gaearon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaearon/subscriptions","organizations_url":"https://api.github.com/users/gaearon/orgs","repos_url":"https://api.github.com/users/gaearon/repos","events_url":"https://api.github.com/users/gaearon/events{/privacy}","received_events_url":"https://api.github.com/users/gaearon/received_events","type":"User","site_admin":false},"repo":{"id":41835190,"name":"react-transform-catch-errors","full_name":"gaearon/react-transform-catch-errors","owner":{"login":"gaearon","id":810438,"avatar_url":"https://avatars.githubusercontent.com/u/810438?v=3","gravatar_id":"","url":"https://api.github.com/users/gaearon","html_url":"https://github.com/gaearon","followers_url":"https://api.github.com/users/gaearon/followers","following_url":"https://api.github.com/users/gaearon/following{/other_user}","gists_url":"https://api.github.com/users/gaearon/gists{/gist_id}","starred_url":"https://api.github.com/users/gaearon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaearon/subscriptions","organizations_url":"https://api.github.com/users/gaearon/orgs","repos_url":"https://api.github.com/users/gaearon/repos","events_url":"https://api.github.com/users/gaearon/events{/privacy}","received_events_url":"https://api.github.com/users/gaearon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gaearon/react-transform-catch-errors","description":"React Transform that catches errors inside React components","fork":false,"url":"https://api.github.com/repos/gaearon/react-transform-catch-errors","forks_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/forks","keys_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/teams","hooks_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/hooks","issue_events_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/issues/events{/number}","events_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/events","assignees_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/assignees{/user}","branches_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/branches{/branch}","tags_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/tags","blobs_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/git/refs{/sha}","trees_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/statuses/{sha}","languages_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/languages","stargazers_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/stargazers","contributors_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/contributors","subscribers_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/subscribers","subscription_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/subscription","commits_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/commits{/sha}","git_commits_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/git/commits{/sha}","comments_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/comments{/number}","issue_comment_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/issues/comments{/number}","contents_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/contents/{+path}","compare_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/merges","archive_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/downloads","issues_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/issues{/number}","pulls_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/pulls{/number}","milestones_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/milestones{/number}","notifications_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/labels{/name}","releases_url":"https://api.github.com/repos/gaearon/react-transform-catch-errors/releases{/id}","created_at":"2015-09-03T00:47:30Z","updated_at":"2015-09-14T02:48:33Z","pushed_at":"2015-09-15T00:57:58Z","git_url":"git://github.com/gaearon/react-transform-catch-errors.git","ssh_url":"git@github.com:gaearon/react-transform-catch-errors.git","clone_url":"https://github.com/gaearon/react-transform-catch-errors.git","svn_url":"https://github.com/gaearon/react-transform-catch-errors","homepage":null,"size":144,"stargazers_count":23,"watchers_count":23,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gaearon/react-transform-catch-errors/pulls/5"},"html":{"href":"https://github.com/gaearon/react-transform-catch-errors/pull/5"},"issue":{"href":"https://api.github.com/repos/gaearon/react-transform-catch-errors/issues/5"},"comments":{"href":"https://api.github.com/repos/gaearon/react-transform-catch-errors/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/gaearon/react-transform-catch-errors/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/gaearon/react-transform-catch-errors/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gaearon/react-transform-catch-errors/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/gaearon/react-transform-catch-errors/statuses/43874cac6cbb67e9461999047402840cc2c0b2ce"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"gaearon","id":810438,"avatar_url":"https://avatars.githubusercontent.com/u/810438?v=3","gravatar_id":"","url":"https://api.github.com/users/gaearon","html_url":"https://github.com/gaearon","followers_url":"https://api.github.com/users/gaearon/followers","following_url":"https://api.github.com/users/gaearon/following{/other_user}","gists_url":"https://api.github.com/users/gaearon/gists{/gist_id}","starred_url":"https://api.github.com/users/gaearon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaearon/subscriptions","organizations_url":"https://api.github.com/users/gaearon/orgs","repos_url":"https://api.github.com/users/gaearon/repos","events_url":"https://api.github.com/users/gaearon/events{/privacy}","received_events_url":"https://api.github.com/users/gaearon/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}