{"action":"created","issue":{"url":"https://api.github.com/repos/getsentry/raven-js/issues/424","labels_url":"https://api.github.com/repos/getsentry/raven-js/issues/424/labels{/name}","comments_url":"https://api.github.com/repos/getsentry/raven-js/issues/424/comments","events_url":"https://api.github.com/repos/getsentry/raven-js/issues/424/events","html_url":"https://github.com/getsentry/raven-js/issues/424","id":117657069,"number":424,"title":"Support for \"Unhandled promise rejection\" / \"Uncaught (in promise)\"","user":{"login":"benvinegar","id":2153,"avatar_url":"https://avatars.githubusercontent.com/u/2153?v=3","gravatar_id":"","url":"https://api.github.com/users/benvinegar","html_url":"https://github.com/benvinegar","followers_url":"https://api.github.com/users/benvinegar/followers","following_url":"https://api.github.com/users/benvinegar/following{/other_user}","gists_url":"https://api.github.com/users/benvinegar/gists{/gist_id}","starred_url":"https://api.github.com/users/benvinegar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benvinegar/subscriptions","organizations_url":"https://api.github.com/users/benvinegar/orgs","repos_url":"https://api.github.com/users/benvinegar/repos","events_url":"https://api.github.com/users/benvinegar/events{/privacy}","received_events_url":"https://api.github.com/users/benvinegar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-11-18T19:04:34Z","updated_at":"2015-11-19T02:26:51Z","closed_at":null,"body":"Example use case ([JSBin](http://jsbin.com/funelakeyi/edit?html,css,js,output)):\r\n\r\n```javascript\r\nvar p = new Promise(function(resolve, reject) {\r\n    window.setTimeout(\r\n        function() {\r\n            reject();\r\n        }, 10);\r\n});\r\n\r\np.then(function () {\r\n    console.log('done!');\r\n});\r\n```\r\n\r\n\r\nIf the promise throws an exception, and there's no error handler, the browser will spit out an uncaught promise error.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/2153/11251012/216987a8-8de4-11e5-8421-c9b61c83c595.png)\r\n"},"comment":{"url":"https://api.github.com/repos/getsentry/raven-js/issues/comments/157929439","html_url":"https://github.com/getsentry/raven-js/issues/424#issuecomment-157929439","issue_url":"https://api.github.com/repos/getsentry/raven-js/issues/424","id":157929439,"user":{"login":"joaocunha","id":766837,"avatar_url":"https://avatars.githubusercontent.com/u/766837?v=3","gravatar_id":"","url":"https://api.github.com/users/joaocunha","html_url":"https://github.com/joaocunha","followers_url":"https://api.github.com/users/joaocunha/followers","following_url":"https://api.github.com/users/joaocunha/following{/other_user}","gists_url":"https://api.github.com/users/joaocunha/gists{/gist_id}","starred_url":"https://api.github.com/users/joaocunha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joaocunha/subscriptions","organizations_url":"https://api.github.com/users/joaocunha/orgs","repos_url":"https://api.github.com/users/joaocunha/repos","events_url":"https://api.github.com/users/joaocunha/events{/privacy}","received_events_url":"https://api.github.com/users/joaocunha/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T02:26:51Z","updated_at":"2015-11-19T02:26:51Z","body":"That workaround does work indeed, thanks!"}}