{"action":"created","issue":{"url":"https://api.github.com/repos/rauchg/slackin/issues/138","labels_url":"https://api.github.com/repos/rauchg/slackin/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/rauchg/slackin/issues/138/comments","events_url":"https://api.github.com/repos/rauchg/slackin/issues/138/events","html_url":"https://github.com/rauchg/slackin/issues/138","id":127026891,"number":138,"title":"Clean install on heroku fails to run","user":{"login":"davehodg","id":922517,"avatar_url":"https://avatars.githubusercontent.com/u/922517?v=3","gravatar_id":"","url":"https://api.github.com/users/davehodg","html_url":"https://github.com/davehodg","followers_url":"https://api.github.com/users/davehodg/followers","following_url":"https://api.github.com/users/davehodg/following{/other_user}","gists_url":"https://api.github.com/users/davehodg/gists{/gist_id}","starred_url":"https://api.github.com/users/davehodg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davehodg/subscriptions","organizations_url":"https://api.github.com/users/davehodg/orgs","repos_url":"https://api.github.com/users/davehodg/repos","events_url":"https://api.github.com/users/davehodg/events{/privacy}","received_events_url":"https://api.github.com/users/davehodg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-16T14:06:21Z","updated_at":"2016-01-16T15:57:52Z","closed_at":"2016-01-16T15:57:52Z","body":"When starting the app, we get this in the logs:\r\n\r\n2016-01-16T13:50:57.223915+00:00 app[web.1]: Sat Jan 16 2016 13:50:57 GMT+0000 (UTC) – fetching\r\n2016-01-16T13:50:57.246395+00:00 app[web.1]: Sat Jan 16 2016 13:50:57 GMT+0000 (UTC) – listening on 0.0.0.0:55948\r\n2016-01-16T13:50:57.487587+00:00 app[web.1]: /app/node/slack.js:53\r\n2016-01-16T13:50:57.487589+00:00 app[web.1]:         (res.body.channels || []).forEach(function (channel) {\r\n2016-01-16T13:50:57.487590+00:00 app[web.1]:             ^\r\n2016-01-16T13:50:57.487590+00:00 app[web.1]: 2016-01-16T13:50:57.487590+00:00 app[web.1]: \r\n2016-01-16T13:50:57.487595+00:00 app[web.1]:     at ClientRequest.emit (events.js:169:7)\r\n2016-01-16T13:50:57.487596+00:00 app[web.1]:     at TLSSocket.socketErrorListener (_http_client.js:264:9)\r\n2016-01-16T13:50:58.089763+00:00 heroku[web.1]: Process exited with status 1\r\n2016-01-16T13:50:58.105546+00:00 heroku[web.1]: State changed from starting to crashed\r\n2016-01-16T13:50:57.487594+00:00 app[web.1]:     at Request.callback (/app/node_modules/superagent/lib/node/index.js:746:30)\r\n2016-01-16T13:50:57.487594+00:00 app[web.1]:     at ClientRequest.<anonymous> (/app/node_modules/superagent/lib/node/index.js:711:10)\r\n2016-01-16T13:50:57.487595+00:00 app[web.1]:     at emitOne (events.js:77:13)\r\n2016-01-16T13:50:57.487596+00:00 app[web.1]:     at TLSSocket.socketErrorListener (_http_client.js:264:9)\r\n2016-01-16T13:50:57.487596+00:00 app[web.1]:     at emitOne (events.js:77:13)\r\n2016-01-16T13:50:57.487597+00:00 app[web.1]:     at TLSSocket.emit (events.js:169:7)\r\n2016-01-16T13:50:58.089763+00:00 heroku[web.1]: Process exited with status 1\r\n\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/rauchg/slackin/issues/comments/172218171","html_url":"https://github.com/rauchg/slackin/issues/138#issuecomment-172218171","issue_url":"https://api.github.com/repos/rauchg/slackin/issues/138","id":172218171,"user":{"login":"davehodg","id":922517,"avatar_url":"https://avatars.githubusercontent.com/u/922517?v=3","gravatar_id":"","url":"https://api.github.com/users/davehodg","html_url":"https://github.com/davehodg","followers_url":"https://api.github.com/users/davehodg/followers","following_url":"https://api.github.com/users/davehodg/following{/other_user}","gists_url":"https://api.github.com/users/davehodg/gists{/gist_id}","starred_url":"https://api.github.com/users/davehodg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davehodg/subscriptions","organizations_url":"https://api.github.com/users/davehodg/orgs","repos_url":"https://api.github.com/users/davehodg/repos","events_url":"https://api.github.com/users/davehodg/events{/privacy}","received_events_url":"https://api.github.com/users/davehodg/received_events","type":"User","site_admin":false},"created_at":"2016-01-16T15:57:52Z","updated_at":"2016-01-16T15:57:52Z","body":"Then I'll close the issue. There should possibly be a check in the code?"}}