{"action":"opened","issue":{"url":"https://api.github.com/repos/slackhq/hubot-slack/issues/311","repository_url":"https://api.github.com/repos/slackhq/hubot-slack","labels_url":"https://api.github.com/repos/slackhq/hubot-slack/issues/311/labels{/name}","comments_url":"https://api.github.com/repos/slackhq/hubot-slack/issues/311/comments","events_url":"https://api.github.com/repos/slackhq/hubot-slack/issues/311/events","html_url":"https://github.com/slackhq/hubot-slack/issues/311","id":162359242,"number":311,"title":"Adapter doesn't die when there's no connection","user":{"login":"Place1","id":11731350,"avatar_url":"https://avatars.githubusercontent.com/u/11731350?v=3","gravatar_id":"","url":"https://api.github.com/users/Place1","html_url":"https://github.com/Place1","followers_url":"https://api.github.com/users/Place1/followers","following_url":"https://api.github.com/users/Place1/following{/other_user}","gists_url":"https://api.github.com/users/Place1/gists{/gist_id}","starred_url":"https://api.github.com/users/Place1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Place1/subscriptions","organizations_url":"https://api.github.com/users/Place1/orgs","repos_url":"https://api.github.com/users/Place1/repos","events_url":"https://api.github.com/users/Place1/events{/privacy}","received_events_url":"https://api.github.com/users/Place1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-06-27T01:23:44Z","updated_at":"2016-06-27T01:23:44Z","closed_at":null,"body":"If you start the bot without internet connection the slack-client will emit an error 'ENOTFOUND' but the adapter currently doesn't handle it.\r\n\r\nCurrently the adapter will just log 'ERROR undefined' but it will not exit nor try to reconnect.\r\n\r\nIt'd be great if the adapter followed the HUBOT_SLACK_EXIT_ON_DISCONNECT environment option flag in this condition. If the flag is true then the adapter should exit otherwise should try and reconnect.\r\n\r\nIf others thing this is a good addition i'm happy to make a PR for it."}}
{"actor":{"display_login":"Place1"}}