{"action":"created","issue":{"url":"https://api.github.com/repos/atom/electron/issues/2276","labels_url":"https://api.github.com/repos/atom/electron/issues/2276/labels{/name}","comments_url":"https://api.github.com/repos/atom/electron/issues/2276/comments","events_url":"https://api.github.com/repos/atom/electron/issues/2276/events","html_url":"https://github.com/atom/electron/issues/2276","id":96066804,"number":2276,"title":"auto-updater failing with \"Error: Uncaught, unspecified \"error\" event.\"","user":{"login":"astoilkov","id":884810,"avatar_url":"https://avatars.githubusercontent.com/u/884810?v=3","gravatar_id":"","url":"https://api.github.com/users/astoilkov","html_url":"https://github.com/astoilkov","followers_url":"https://api.github.com/users/astoilkov/followers","following_url":"https://api.github.com/users/astoilkov/following{/other_user}","gists_url":"https://api.github.com/users/astoilkov/gists{/gist_id}","starred_url":"https://api.github.com/users/astoilkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astoilkov/subscriptions","organizations_url":"https://api.github.com/users/astoilkov/orgs","repos_url":"https://api.github.com/users/astoilkov/repos","events_url":"https://api.github.com/users/astoilkov/events{/privacy}","received_events_url":"https://api.github.com/users/astoilkov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-20T13:42:20Z","updated_at":"2015-09-02T22:33:40Z","closed_at":"2015-07-21T02:38:13Z","body":"I tried using the `auto-updater` module under OS X but it fails with the follow error: `\"Error: Uncaught, unspecified \"error\" event.\"`. The error is thrown when calling `.setFeedUrl` method:\r\n```\r\nautoUpdater.setFeedUrl('http://our-website.com/updates?version=' + version);\r\n```\r\n\r\nOur application is still not signed. However, I saw that when the reason for the error is the lack of code signing the error is different.\r\n\r\nWhat could be the reason for the error?"},"comment":{"url":"https://api.github.com/repos/atom/electron/issues/comments/137263982","html_url":"https://github.com/atom/electron/issues/2276#issuecomment-137263982","issue_url":"https://api.github.com/repos/atom/electron/issues/2276","id":137263982,"user":{"login":"Soubkia","id":5231841,"avatar_url":"https://avatars.githubusercontent.com/u/5231841?v=3","gravatar_id":"","url":"https://api.github.com/users/Soubkia","html_url":"https://github.com/Soubkia","followers_url":"https://api.github.com/users/Soubkia/followers","following_url":"https://api.github.com/users/Soubkia/following{/other_user}","gists_url":"https://api.github.com/users/Soubkia/gists{/gist_id}","starred_url":"https://api.github.com/users/Soubkia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soubkia/subscriptions","organizations_url":"https://api.github.com/users/Soubkia/orgs","repos_url":"https://api.github.com/users/Soubkia/repos","events_url":"https://api.github.com/users/Soubkia/events{/privacy}","received_events_url":"https://api.github.com/users/Soubkia/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T22:33:40Z","updated_at":"2015-09-02T22:33:40Z","body":"I'm getting the same unspecified error. Could you be a little more specific about how to add a listener to autoUpdater? Referencing [this](https://nodejs.org/api/events.html) I tried:\r\n\r\n```\r\nvar autoUpdater = require('auto-updater');\r\nautoUpdater.addListener('uncaughtException', function(err) {\r\n  console.log(err);\r\n});\r\nautoUpdater.setFeedUrl('https://github.com/atom/electron/releases/tag/v0.31.2');\r\n```"}}