{"action":"opened","issue":{"url":"https://api.github.com/repos/atom/atom/issues/18142","repository_url":"https://api.github.com/repos/atom/atom","labels_url":"https://api.github.com/repos/atom/atom/issues/18142/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom/issues/18142/comments","events_url":"https://api.github.com/repos/atom/atom/issues/18142/events","html_url":"https://github.com/atom/atom/issues/18142","id":364965722,"node_id":"MDU6SXNzdWUzNjQ5NjU3MjI=","number":18142,"title":"Exception when non-Error thrown","user":{"login":"daviwil","id":79405,"node_id":"MDQ6VXNlcjc5NDA1","avatar_url":"https://avatars3.githubusercontent.com/u/79405?v=4","gravatar_id":"","url":"https://api.github.com/users/daviwil","html_url":"https://github.com/daviwil","followers_url":"https://api.github.com/users/daviwil/followers","following_url":"https://api.github.com/users/daviwil/following{/other_user}","gists_url":"https://api.github.com/users/daviwil/gists{/gist_id}","starred_url":"https://api.github.com/users/daviwil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daviwil/subscriptions","organizations_url":"https://api.github.com/users/daviwil/orgs","repos_url":"https://api.github.com/users/daviwil/repos","events_url":"https://api.github.com/users/daviwil/events{/privacy}","received_events_url":"https://api.github.com/users/daviwil/received_events","type":"User","site_admin":true},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-28T16:50:38Z","updated_at":"2018-09-28T16:50:38Z","closed_at":null,"author_association":"MEMBER","body":"_From @peterhal on May 24, 2016 18:3_\n\nparseStackTrace attempts to use the thrown value as a key in the StackTraceCache WeakMap.\n\nWeakMap keys must be Objects, while non-Objects may be thrown. If a non-Object is thrown the following stack trace is generated:\n\nError reporting uncaught exception TypeError: Invalid value used as weak map key\n  at WeakMap.set (native)\n  at parseStackTrace (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/exception-reporting/lib/reporter.js:115:23)\n  at shouldReport (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/exception-reporting/lib/reporter.js:102:20)\n  at Object.exports.reportUncaughtException (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/exception-reporting/lib/reporter.js:169:10)\n  at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/exception-reporting/lib/main.js:21:27\n  at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)\n  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)\n  at /Applications/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:832:32\n\n\n_Copied from original issue: atom/exception-reporting#19_"}}
{"actor":{"display_login":"daviwil"}}