{"action":"created","issue":{"url":"https://api.github.com/repos/Financial-Times/o-errors/issues/22","labels_url":"https://api.github.com/repos/Financial-Times/o-errors/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/Financial-Times/o-errors/issues/22/comments","events_url":"https://api.github.com/repos/Financial-Times/o-errors/issues/22/events","html_url":"https://github.com/Financial-Times/o-errors/issues/22","id":113428120,"number":22,"title":"window.onerror handler not installed","user":{"login":"pornel","id":72159,"avatar_url":"https://avatars.githubusercontent.com/u/72159?v=3","gravatar_id":"","url":"https://api.github.com/users/pornel","html_url":"https://github.com/pornel","followers_url":"https://api.github.com/users/pornel/followers","following_url":"https://api.github.com/users/pornel/following{/other_user}","gists_url":"https://api.github.com/users/pornel/gists{/gist_id}","starred_url":"https://api.github.com/users/pornel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pornel/subscriptions","organizations_url":"https://api.github.com/users/pornel/orgs","repos_url":"https://api.github.com/users/pornel/repos","events_url":"https://api.github.com/users/pornel/events{/privacy}","received_events_url":"https://api.github.com/users/pornel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"tom-parker","id":900140,"avatar_url":"https://avatars.githubusercontent.com/u/900140?v=3","gravatar_id":"","url":"https://api.github.com/users/tom-parker","html_url":"https://github.com/tom-parker","followers_url":"https://api.github.com/users/tom-parker/followers","following_url":"https://api.github.com/users/tom-parker/following{/other_user}","gists_url":"https://api.github.com/users/tom-parker/gists{/gist_id}","starred_url":"https://api.github.com/users/tom-parker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tom-parker/subscriptions","organizations_url":"https://api.github.com/users/tom-parker/orgs","repos_url":"https://api.github.com/users/tom-parker/repos","events_url":"https://api.github.com/users/tom-parker/events{/privacy}","received_events_url":"https://api.github.com/users/tom-parker/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-10-26T19:04:17Z","updated_at":"2015-11-03T10:25:30Z","closed_at":null,"body":"The documentation says:\r\n\r\n> Uncaught errors are handled by a `window.onerror` function installed on initialisation.\r\n\r\nHowever, that doesn't seem to be the case, and I don't see any code that would do it the o-errors source. \r\nRaven documentation only shows a try/catch examples.\r\n"},"comment":{"url":"https://api.github.com/repos/Financial-Times/o-errors/issues/comments/153309056","html_url":"https://github.com/Financial-Times/o-errors/issues/22#issuecomment-153309056","issue_url":"https://api.github.com/repos/Financial-Times/o-errors/issues/22","id":153309056,"user":{"login":"tom-parker","id":900140,"avatar_url":"https://avatars.githubusercontent.com/u/900140?v=3","gravatar_id":"","url":"https://api.github.com/users/tom-parker","html_url":"https://github.com/tom-parker","followers_url":"https://api.github.com/users/tom-parker/followers","following_url":"https://api.github.com/users/tom-parker/following{/other_user}","gists_url":"https://api.github.com/users/tom-parker/gists{/gist_id}","starred_url":"https://api.github.com/users/tom-parker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tom-parker/subscriptions","organizations_url":"https://api.github.com/users/tom-parker/orgs","repos_url":"https://api.github.com/users/tom-parker/repos","events_url":"https://api.github.com/users/tom-parker/events{/privacy}","received_events_url":"https://api.github.com/users/tom-parker/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T10:25:30Z","updated_at":"2015-11-03T10:25:30Z","body":"@pornel can you point me in the direction of where you're initialising o-errors or copy in the options you're passing. We can get the `window.onerror` handler installed fine on next."}}