{"action":"closed","issue":{"url":"https://api.github.com/repos/depoio/node-telegram-bot/issues/41","labels_url":"https://api.github.com/repos/depoio/node-telegram-bot/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/depoio/node-telegram-bot/issues/41/comments","events_url":"https://api.github.com/repos/depoio/node-telegram-bot/issues/41/events","html_url":"https://github.com/depoio/node-telegram-bot/issues/41","id":104849706,"number":41,"title":"Bot had no response to messages and crashed with TypeError","user":{"login":"xavieryao","id":2821051,"avatar_url":"https://avatars.githubusercontent.com/u/2821051?v=3","gravatar_id":"","url":"https://api.github.com/users/xavieryao","html_url":"https://github.com/xavieryao","followers_url":"https://api.github.com/users/xavieryao/followers","following_url":"https://api.github.com/users/xavieryao/following{/other_user}","gists_url":"https://api.github.com/users/xavieryao/gists{/gist_id}","starred_url":"https://api.github.com/users/xavieryao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xavieryao/subscriptions","organizations_url":"https://api.github.com/users/xavieryao/orgs","repos_url":"https://api.github.com/users/xavieryao/repos","events_url":"https://api.github.com/users/xavieryao/events{/privacy}","received_events_url":"https://api.github.com/users/xavieryao/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-04T08:32:21Z","updated_at":"2015-09-04T08:54:04Z","closed_at":"2015-09-04T08:54:04Z","body":"```/Users/xavieryao/gengbot/node_modules/node-telegram-bot/lib/Bot.js:203\r\n    } else if(res.statusCode === 401){\r\n                 ^\r\nTypeError: Cannot read property 'statusCode' of undefined\r\n  at Request._callback (/Users/xavieryao/gengbot/node_modules/node-telegram-bot/lib/Bot.js:203:18)\r\n  at self.callback (/Users/xavieryao/gengbot/node_modules/node-telegram-bot/node_modules/request/request.js:198:22)\r\n  at Request.emit (events.js:107:17)\r\n  at Request.onRequestError (/Users/xavieryao/gengbot/node_modules/node-telegram-bot/node_modules/request/request.js:877:8)\r\n  at ClientRequest.emit (events.js:107:17)\r\n  at TLSSocket.socketErrorListener (_http_client.js:271:9)\r\n  at TLSSocket.emit (events.js:129:20)\r\n  at net.js:459:14\r\n  at process._tickCallback (node.js:355:11)\r\n```"}}