{"action":"created","issue":{"url":"https://api.github.com/repos/mateodelnorte/servicebus/issues/81","repository_url":"https://api.github.com/repos/mateodelnorte/servicebus","labels_url":"https://api.github.com/repos/mateodelnorte/servicebus/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/mateodelnorte/servicebus/issues/81/comments","events_url":"https://api.github.com/repos/mateodelnorte/servicebus/issues/81/events","html_url":"https://github.com/mateodelnorte/servicebus/issues/81","id":187289464,"number":81,"title":"TypeError: conn.createChannel is not a function","user":{"login":"repkins","id":7951569,"avatar_url":"https://avatars.githubusercontent.com/u/7951569?v=3","gravatar_id":"","url":"https://api.github.com/users/repkins","html_url":"https://github.com/repkins","followers_url":"https://api.github.com/users/repkins/followers","following_url":"https://api.github.com/users/repkins/following{/other_user}","gists_url":"https://api.github.com/users/repkins/gists{/gist_id}","starred_url":"https://api.github.com/users/repkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/repkins/subscriptions","organizations_url":"https://api.github.com/users/repkins/orgs","repos_url":"https://api.github.com/users/repkins/repos","events_url":"https://api.github.com/users/repkins/events{/privacy}","received_events_url":"https://api.github.com/users/repkins/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-04T09:39:10Z","updated_at":"2016-11-29T04:22:58Z","closed_at":"2016-11-29T04:22:58Z","body":"Hello!\r\n\r\nI encountered a weird issue regarding while testing connections to RabbitMQ. For example when I trying to connect stopped instrance of RabbitMQ service, I expecting to catched `ECONNREFUSED`, emited with on 'error' event. That's ok, but there for some reason it also throws unhandled exception `TypeError: conn.createChannel is not a function`, crashing application. I've made research for that problem and I've discovered that error comes from \".done\" handler on making connection through amqplib module. That handler called  with passed **undefined** `conn` argument, which should not meant to be executed at all, if it is rejected;\r\n\r\nI know how to fix, based of my deeper research, including amqplib module and its depedency module `when` so im ready to make pull request. Because for me its needed to get fixed ASAP."},"comment":{"url":"https://api.github.com/repos/mateodelnorte/servicebus/issues/comments/263472557","html_url":"https://github.com/mateodelnorte/servicebus/issues/81#issuecomment-263472557","issue_url":"https://api.github.com/repos/mateodelnorte/servicebus/issues/81","id":263472557,"user":{"login":"mateodelnorte","id":554847,"avatar_url":"https://avatars.githubusercontent.com/u/554847?v=3","gravatar_id":"","url":"https://api.github.com/users/mateodelnorte","html_url":"https://github.com/mateodelnorte","followers_url":"https://api.github.com/users/mateodelnorte/followers","following_url":"https://api.github.com/users/mateodelnorte/following{/other_user}","gists_url":"https://api.github.com/users/mateodelnorte/gists{/gist_id}","starred_url":"https://api.github.com/users/mateodelnorte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mateodelnorte/subscriptions","organizations_url":"https://api.github.com/users/mateodelnorte/orgs","repos_url":"https://api.github.com/users/mateodelnorte/repos","events_url":"https://api.github.com/users/mateodelnorte/events{/privacy}","received_events_url":"https://api.github.com/users/mateodelnorte/received_events","type":"User","site_admin":false},"created_at":"2016-11-29T04:22:58Z","updated_at":"2016-11-29T04:22:58Z","body":"Fixed by #82 "}}
{"actor":{"display_login":"mateodelnorte"}}