{"action":"opened","issue":{"url":"https://api.github.com/repos/getsentry/sentry-cordova/issues/104","repository_url":"https://api.github.com/repos/getsentry/sentry-cordova","labels_url":"https://api.github.com/repos/getsentry/sentry-cordova/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/getsentry/sentry-cordova/issues/104/comments","events_url":"https://api.github.com/repos/getsentry/sentry-cordova/issues/104/events","html_url":"https://github.com/getsentry/sentry-cordova/issues/104","id":390604855,"node_id":"MDU6SXNzdWUzOTA2MDQ4NTU=","number":104,"title":"captureException throws error after it returns leading to an uncaughtException!","user":{"login":"ntelkedzhiev","id":7332371,"node_id":"MDQ6VXNlcjczMzIzNzE=","avatar_url":"https://avatars2.githubusercontent.com/u/7332371?v=4","gravatar_id":"","url":"https://api.github.com/users/ntelkedzhiev","html_url":"https://github.com/ntelkedzhiev","followers_url":"https://api.github.com/users/ntelkedzhiev/followers","following_url":"https://api.github.com/users/ntelkedzhiev/following{/other_user}","gists_url":"https://api.github.com/users/ntelkedzhiev/gists{/gist_id}","starred_url":"https://api.github.com/users/ntelkedzhiev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ntelkedzhiev/subscriptions","organizations_url":"https://api.github.com/users/ntelkedzhiev/orgs","repos_url":"https://api.github.com/users/ntelkedzhiev/repos","events_url":"https://api.github.com/users/ntelkedzhiev/events{/privacy}","received_events_url":"https://api.github.com/users/ntelkedzhiev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-13T10:07:31Z","updated_at":"2018-12-13T10:07:31Z","closed_at":null,"author_association":"NONE","body":"captureException throws an error after it returns. Therefore, it cannot be caught by a simple try-catch.\r\n\r\n```javascript\r\ntry {\r\n      Sentry.captureException(originalError\r\n} catch (e) {\r\n      console.log('Sentry Error', e)\r\n}\r\n...\r\n-> Exception is thrown here\r\n```\r\n\r\nWHY/HOW is this an accepted behavior?\r\n\r\n"}}
{"actor":{"display_login":"ntelkedzhiev"}}