{"action":"created","issue":{"url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/1101","repository_url":"https://api.github.com/repos/facebookincubator/create-react-app","labels_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/1101/labels{/name}","comments_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/1101/comments","events_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/1101/events","html_url":"https://github.com/facebookincubator/create-react-app/pull/1101","id":191789320,"number":1101,"title":"Add runtime error overlay","user":{"login":"Timer","id":616428,"avatar_url":"https://avatars.githubusercontent.com/u/616428?v=3","gravatar_id":"","url":"https://api.github.com/users/Timer","html_url":"https://github.com/Timer","followers_url":"https://api.github.com/users/Timer/followers","following_url":"https://api.github.com/users/Timer/following{/other_user}","gists_url":"https://api.github.com/users/Timer/gists{/gist_id}","starred_url":"https://api.github.com/users/Timer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Timer/subscriptions","organizations_url":"https://api.github.com/users/Timer/orgs","repos_url":"https://api.github.com/users/Timer/repos","events_url":"https://api.github.com/users/Timer/events{/privacy}","received_events_url":"https://api.github.com/users/Timer/received_events","type":"User","site_admin":false},"labels":[{"id":409579052,"url":"https://api.github.com/repos/facebookincubator/create-react-app/labels/CLA%20Signed","name":"CLA Signed","color":"009900","default":false},{"id":492695435,"url":"https://api.github.com/repos/facebookincubator/create-react-app/labels/tag:%20new%20feature","name":"tag: new feature","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/facebookincubator/create-react-app/milestones/18","html_url":"https://github.com/facebookincubator/create-react-app/milestone/18","labels_url":"https://api.github.com/repos/facebookincubator/create-react-app/milestones/18/labels","id":2146747,"number":18,"title":"0.9.0","description":"","creator":{"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},"open_issues":16,"closed_issues":8,"state":"open","created_at":"2016-11-20T17:56:05Z","updated_at":"2016-12-14T11:06:38Z","due_on":null,"closed_at":null},"comments":242,"created_at":"2016-11-26T06:08:31Z","updated_at":"2016-12-16T03:24:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/facebookincubator/create-react-app/pulls/1101","html_url":"https://github.com/facebookincubator/create-react-app/pull/1101","diff_url":"https://github.com/facebookincubator/create-react-app/pull/1101.diff","patch_url":"https://github.com/facebookincubator/create-react-app/pull/1101.patch"},"body":"If you would like to help, please see https://github.com/facebookincubator/create-react-app/issues/1129.\r\n\r\n---\r\n\r\nThis PR is a prototype implementation for #783 which hopefully gets the ball rolling.\r\n\r\nThis is by no means a complete or even polished proposal, but simply a WIP to track the ongoing discussion in #783 as it unfolds.\r\nThere is much to be done for DX and message clarity when the Error object is unavailable or unparsable.\r\n\r\n### Errors\r\nErrors are captured using `window.onerror`.\r\n`window.onerror` provides the `Error` object in most all modern browsers: Chrome 46(?), Firefox [31](https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror), IE 11, and Safari 10([ref](https://bugs.webkit.org/show_bug.cgi?id=55092)). Notably, support is missing from Microsoft Edge (unverified, see [here](https://msdn.microsoft.com/library/cc197053.aspx) -- can someone test this please?).\r\n\r\n### Unhandled Rejections\r\nUnfortunately, there seems to be no standard/proper way to capture unhandled rejection -- Chrome seems to be the only browser doing this, exposed via the `unhandledrejection` event.\r\nDoes anyone have any ideas on how to accomplish this / should it be a Chrome only feature?\r\n\r\n---\r\n\r\n![](https://puu.sh/sEAJY/5ecd2b7e96.png)"},"comment":{"url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/comments/267508440","html_url":"https://github.com/facebookincubator/create-react-app/pull/1101#issuecomment-267508440","issue_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/1101","id":267508440,"user":{"login":"Timer","id":616428,"avatar_url":"https://avatars.githubusercontent.com/u/616428?v=3","gravatar_id":"","url":"https://api.github.com/users/Timer","html_url":"https://github.com/Timer","followers_url":"https://api.github.com/users/Timer/followers","following_url":"https://api.github.com/users/Timer/following{/other_user}","gists_url":"https://api.github.com/users/Timer/gists{/gist_id}","starred_url":"https://api.github.com/users/Timer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Timer/subscriptions","organizations_url":"https://api.github.com/users/Timer/orgs","repos_url":"https://api.github.com/users/Timer/repos","events_url":"https://api.github.com/users/Timer/events{/privacy}","received_events_url":"https://api.github.com/users/Timer/received_events","type":"User","site_admin":false},"created_at":"2016-12-16T03:24:37Z","updated_at":"2016-12-16T03:24:37Z","body":"![](https://puu.sh/sR6XQ/60730fb6dc.png)"}}
{"actor":{"display_login":"Timer"}}