{"action":"opened","issue":{"url":"https://api.github.com/repos/seishun/node-steam/issues/368","repository_url":"https://api.github.com/repos/seishun/node-steam","labels_url":"https://api.github.com/repos/seishun/node-steam/issues/368/labels{/name}","comments_url":"https://api.github.com/repos/seishun/node-steam/issues/368/comments","events_url":"https://api.github.com/repos/seishun/node-steam/issues/368/events","html_url":"https://github.com/seishun/node-steam/issues/368","id":162196621,"number":368,"title":"Cannot read property send of undefined","user":{"login":"borianm","id":2007653,"avatar_url":"https://avatars.githubusercontent.com/u/2007653?v=3","gravatar_id":"","url":"https://api.github.com/users/borianm","html_url":"https://github.com/borianm","followers_url":"https://api.github.com/users/borianm/followers","following_url":"https://api.github.com/users/borianm/following{/other_user}","gists_url":"https://api.github.com/users/borianm/gists{/gist_id}","starred_url":"https://api.github.com/users/borianm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borianm/subscriptions","organizations_url":"https://api.github.com/users/borianm/orgs","repos_url":"https://api.github.com/users/borianm/repos","events_url":"https://api.github.com/users/borianm/events{/privacy}","received_events_url":"https://api.github.com/users/borianm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-06-24T17:44:56Z","updated_at":"2016-06-24T17:44:56Z","closed_at":null,"body":"```\r\n/home/node_modules/steam/lib/steam_client.js:114`\r\n  this._connection.send(Buffer.concat([header.toBuffer(), body]));\r\n                  ^\r\n\r\nTypeError: Cannot read property 'send' of undefined\r\n    at SteamClient._send (/home/node_modules/steam/lib/steam_client.js:114:19)\r\n    at SteamClient.send (/home/node_modules/steam/lib/steam_client.js:123:8)\r\n    at SteamUser.requestWebAPIAuthenticateUserNonce (/home/node_modules/steam/lib/handlers/user/index.js:37:16)\r\n    at SteamWebLogOn.<anonymous> (/home/node_modules/steam-weblogon/index.js:32:23)\r\n    at ClientRequest.<anonymous> (/home/node_modules/steam-web-api/index.js:34:9)\r\n    at ClientRequest.g (events.js:260:16)\r\n    at emitOne (events.js:77:13)\r\n    at ClientRequest.emit (events.js:169:7)\r\n    at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:419:21)\r\n    at HTTPParser.parserOnHeadersComplete (_http_common.js:103:23)\r\n\r\n```\r\nI think this is the main reason my bot script often goes full dead. This happens usually when Steam is having issues, so could u tell me how to catch this error and don't get a fatal error."}}
{"actor":{"display_login":"borianm"}}