{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/kibana/issues/6939","repository_url":"https://api.github.com/repos/elastic/kibana","labels_url":"https://api.github.com/repos/elastic/kibana/issues/6939/labels{/name}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/6939/comments","events_url":"https://api.github.com/repos/elastic/kibana/issues/6939/events","html_url":"https://github.com/elastic/kibana/pull/6939","id":148500028,"number":6939,"title":"Report unhandled Promise rejections","user":{"login":"bevacqua","id":934293,"avatar_url":"https://avatars.githubusercontent.com/u/934293?v=3","gravatar_id":"","url":"https://api.github.com/users/bevacqua","html_url":"https://github.com/bevacqua","followers_url":"https://api.github.com/users/bevacqua/followers","following_url":"https://api.github.com/users/bevacqua/following{/other_user}","gists_url":"https://api.github.com/users/bevacqua/gists{/gist_id}","starred_url":"https://api.github.com/users/bevacqua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bevacqua/subscriptions","organizations_url":"https://api.github.com/users/bevacqua/orgs","repos_url":"https://api.github.com/users/bevacqua/repos","events_url":"https://api.github.com/users/bevacqua/events{/privacy}","received_events_url":"https://api.github.com/users/bevacqua/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/kibana/labels/review","name":"review","color":"eb6420"},{"url":"https://api.github.com/repos/elastic/kibana/labels/v5.0.0","name":"v5.0.0","color":"ffffff"}],"state":"open","locked":false,"assignee":{"login":"epixa","id":53814,"avatar_url":"https://avatars.githubusercontent.com/u/53814?v=3","gravatar_id":"","url":"https://api.github.com/users/epixa","html_url":"https://github.com/epixa","followers_url":"https://api.github.com/users/epixa/followers","following_url":"https://api.github.com/users/epixa/following{/other_user}","gists_url":"https://api.github.com/users/epixa/gists{/gist_id}","starred_url":"https://api.github.com/users/epixa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epixa/subscriptions","organizations_url":"https://api.github.com/users/epixa/orgs","repos_url":"https://api.github.com/users/epixa/repos","events_url":"https://api.github.com/users/epixa/events{/privacy}","received_events_url":"https://api.github.com/users/epixa/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2016-04-14T22:25:28Z","updated_at":"2016-04-15T19:46:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/elastic/kibana/pulls/6939","html_url":"https://github.com/elastic/kibana/pull/6939","diff_url":"https://github.com/elastic/kibana/pull/6939.diff","patch_url":"https://github.com/elastic/kibana/pull/6939.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/elastic/kibana/issues/comments/210614147","html_url":"https://github.com/elastic/kibana/pull/6939#issuecomment-210614147","issue_url":"https://api.github.com/repos/elastic/kibana/issues/6939","id":210614147,"user":{"login":"epixa","id":53814,"avatar_url":"https://avatars.githubusercontent.com/u/53814?v=3","gravatar_id":"","url":"https://api.github.com/users/epixa","html_url":"https://github.com/epixa","followers_url":"https://api.github.com/users/epixa/followers","following_url":"https://api.github.com/users/epixa/following{/other_user}","gists_url":"https://api.github.com/users/epixa/gists{/gist_id}","starred_url":"https://api.github.com/users/epixa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epixa/subscriptions","organizations_url":"https://api.github.com/users/epixa/orgs","repos_url":"https://api.github.com/users/epixa/repos","events_url":"https://api.github.com/users/epixa/events{/privacy}","received_events_url":"https://api.github.com/users/epixa/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T19:46:15Z","updated_at":"2016-04-15T19:46:15Z","body":"What's a good way to test this?  For the server, I tried manually creating rejected promises and it hasn't logged anything even if I add a success handler to the promise that gets rejected."}}