Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Added userID guard #225
Because I got this:
Because I got this: ``` 2019-06-12 | 01:22:30.151 | ERROR | crashBot | Fatal error: TypeError: Cannot read property 'getSteamID64' of null at get (node_modules\steamcommunity\components\users.js:416:60) at SteamCommunity.getUserInventoryContents (node_modules\steamcommunity\components\users.js:412:2) at unpackSteamBoosterPacks (index.js:3588:21) at cleanupSteamInventory (index.js:3583:5) at SteamUser.refreshSteamWebSession (index.js:857:38) at Object.onceWrapper (events.js:273:13) at SteamUser.emit (events.js:182:13) at SteamUser.gotSteamWebSession (index.js:1754:16) at SteamUser.emit (events.js:182:13) at _apiRequest (node_modules\steam-user\components\web.js:61:9) at IncomingMessage.<anonymous> (node_modules\steam-user\components\webapi.js:82:4) at IncomingMessage.emit (events.js:187:15) at endReadableNT (_stream_readable.js:1094:12) at process._tickCallback (internal/process/next_tick.js:63:19) ```
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments.