{"action":"created","issue":{"url":"https://api.github.com/repos/mikelambert/react-native-fabric-crashlytics/issues/4","repository_url":"https://api.github.com/repos/mikelambert/react-native-fabric-crashlytics","labels_url":"https://api.github.com/repos/mikelambert/react-native-fabric-crashlytics/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/mikelambert/react-native-fabric-crashlytics/issues/4/comments","events_url":"https://api.github.com/repos/mikelambert/react-native-fabric-crashlytics/issues/4/events","html_url":"https://github.com/mikelambert/react-native-fabric-crashlytics/issues/4","id":166001689,"number":4,"title":"App does not actually crash","user":{"login":"chetstone","id":976343,"avatar_url":"https://avatars.githubusercontent.com/u/976343?v=3","gravatar_id":"","url":"https://api.github.com/users/chetstone","html_url":"https://github.com/chetstone","followers_url":"https://api.github.com/users/chetstone/followers","following_url":"https://api.github.com/users/chetstone/following{/other_user}","gists_url":"https://api.github.com/users/chetstone/gists{/gist_id}","starred_url":"https://api.github.com/users/chetstone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chetstone/subscriptions","organizations_url":"https://api.github.com/users/chetstone/orgs","repos_url":"https://api.github.com/users/chetstone/repos","events_url":"https://api.github.com/users/chetstone/events{/privacy}","received_events_url":"https://api.github.com/users/chetstone/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-17T23:26:10Z","updated_at":"2016-07-18T09:26:05Z","closed_at":"2016-07-18T09:25:54Z","body":"If I don't include crashlytics.init() in my code, and I reference an undefined variable, the app will crash. This is the expected behaviour. However, with crashlytics.init(), the \"non-fatal\" error will be reported to crashlytics but the app continues to run --- pressing the Back button will reengage the app in the normal manner. This is not expected behaviour. So the code,\r\n\r\n```\r\n        if (originalHandler) {\r\n          originalHandler(e);\r\n        }\r\n\r\n```\r\napparently is not running the original handler, or some condition has changed such that the original handler doesn't crash the app. \r\n\r\nI tried moving the call to `originalHandler `inside the `.then` clause so it would not be called until the call to `recordCustomExceptionName` was finished, and that didn't change the behaviour."},"comment":{"url":"https://api.github.com/repos/mikelambert/react-native-fabric-crashlytics/issues/comments/233282989","html_url":"https://github.com/mikelambert/react-native-fabric-crashlytics/issues/4#issuecomment-233282989","issue_url":"https://api.github.com/repos/mikelambert/react-native-fabric-crashlytics/issues/4","id":233282989,"user":{"login":"mikelambert","id":7953259,"avatar_url":"https://avatars.githubusercontent.com/u/7953259?v=3","gravatar_id":"","url":"https://api.github.com/users/mikelambert","html_url":"https://github.com/mikelambert","followers_url":"https://api.github.com/users/mikelambert/followers","following_url":"https://api.github.com/users/mikelambert/following{/other_user}","gists_url":"https://api.github.com/users/mikelambert/gists{/gist_id}","starred_url":"https://api.github.com/users/mikelambert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikelambert/subscriptions","organizations_url":"https://api.github.com/users/mikelambert/orgs","repos_url":"https://api.github.com/users/mikelambert/repos","events_url":"https://api.github.com/users/mikelambert/events{/privacy}","received_events_url":"https://api.github.com/users/mikelambert/received_events","type":"User","site_admin":false},"created_at":"2016-07-18T09:26:05Z","updated_at":"2016-07-18T09:26:05Z","body":"Pushed 0.1.6 with your fix, thank you for the find/fix."}}
{"actor":{"display_login":"mikelambert"}}