Jump to content
McKay Development


  • Content Count

  • Joined

  • Last visited

  1. any update for this issue ? the' already logged' error could not be caughted now, and will cause a crash in the node process
  2. SteamUser.prototype.logOn = function(details) { // Delay the actual logon by one tick, so if users call logOn from the error event they won't get a crash because // they appear to be already logged on (the steamID property is set to null only *after* the error event is emitted) process.nextTick(async () => { if (this.steamID) { throw new Error("Already logged on, cannot log on again"); } this.steamID = null; this.limitations = null; //.......... } } after v4.5.1, the logOn method use the nextTick to do login action, after then, how to get the Error in the nextT
  • Create New...