Nutscracker Posted February 4, 2020 Report Posted February 4, 2020 https://github.com/DoctorMcKay/node-steamcommunity/blob/master/components/http.js at line 94 "if (response.statusCode >= 300 && response.statusCode <= 399 && response.headers.location.indexOf('/login') != -1) {" In my program I got fatal error "Uncaught Exception TypeError: Cannot read property 'headers' of undefined at SteamCommunity._checkHttpError" I believe this problem associated with socket hang up error Quote
Nutscracker Posted February 23, 2020 Author Report Posted February 23, 2020 (edited) I fixed problem. The code is correct, a previous programmer tried to use 'headers' property in our code, without checking. This property comes from _checkHttpError, I did not notice at those moment that error comes from our code. Edited February 23, 2020 by Nutscracker fix Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.