{"action":"created","issue":{"url":"https://api.github.com/repos/atom/electron/issues/2479","labels_url":"https://api.github.com/repos/atom/electron/issues/2479/labels{/name}","comments_url":"https://api.github.com/repos/atom/electron/issues/2479/comments","events_url":"https://api.github.com/repos/atom/electron/issues/2479/events","html_url":"https://github.com/atom/electron/issues/2479","id":100405400,"number":2479,"title":"How to catch errors occured in the main process?","user":{"login":"s-a","id":1270662,"avatar_url":"https://avatars.githubusercontent.com/u/1270662?v=3","gravatar_id":"","url":"https://api.github.com/users/s-a","html_url":"https://github.com/s-a","followers_url":"https://api.github.com/users/s-a/followers","following_url":"https://api.github.com/users/s-a/following{/other_user}","gists_url":"https://api.github.com/users/s-a/gists{/gist_id}","starred_url":"https://api.github.com/users/s-a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-a/subscriptions","organizations_url":"https://api.github.com/users/s-a/orgs","repos_url":"https://api.github.com/users/s-a/repos","events_url":"https://api.github.com/users/s-a/events{/privacy}","received_events_url":"https://api.github.com/users/s-a/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-08-11T20:44:59Z","updated_at":"2015-08-12T14:53:58Z","closed_at":null,"body":"I d like to get details about exception via full stack trace. Devtools shows no error.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1270662/9210044/32820072-407a-11e5-9cba-98e6a49d3c97.png)\r\n\r\nref:https://github.com/s-a/iron-node/issues/38"},"comment":{"url":"https://api.github.com/repos/atom/electron/issues/comments/130331599","html_url":"https://github.com/atom/electron/issues/2479#issuecomment-130331599","issue_url":"https://api.github.com/repos/atom/electron/issues/2479","id":130331599,"user":{"login":"etiktin","id":4381579,"avatar_url":"https://avatars.githubusercontent.com/u/4381579?v=3","gravatar_id":"","url":"https://api.github.com/users/etiktin","html_url":"https://github.com/etiktin","followers_url":"https://api.github.com/users/etiktin/followers","following_url":"https://api.github.com/users/etiktin/following{/other_user}","gists_url":"https://api.github.com/users/etiktin/gists{/gist_id}","starred_url":"https://api.github.com/users/etiktin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etiktin/subscriptions","organizations_url":"https://api.github.com/users/etiktin/orgs","repos_url":"https://api.github.com/users/etiktin/repos","events_url":"https://api.github.com/users/etiktin/events{/privacy}","received_events_url":"https://api.github.com/users/etiktin/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T14:53:58Z","updated_at":"2015-08-12T14:53:58Z","body":"It's weird that `uncaughtException` didn't work for you. Maybe you can try the following:\r\nIn your main script, only register the `uncaughtException` handler and set a timer to require the rest of your code.\r\n\r\nRegarding meteor, I think it will be easier to first try and get meteor to work with the io.js version that electron uses. After you get it working with io.js, move the code to electron."}}