Jump to content


Photo
Question

Question About error callbacks

node.js node-steam-user

  • Please log in to reply
1 reply to this topic

#1 SP0OK3R

SP0OK3R

    Newbie

  • Member
  • Pip
  • 1 posts

Posted 13 February 2017 - 05:57 PM

If i don't add the callback handler i got the result = 6 (LoggedInElsewhere) [IMG 1],

but if i add the callback handler it goes to the first result:

(console.error("Error: Logon failed, Invalid Password or playing in the account." ) [IMG 2].

 

 

Any tips?

Attached Files



#2 Dr. McKay

Dr. McKay

    Administrator

  • Administrator
  • 923 posts

Posted 13 February 2017 - 08:00 PM

Yes, it's printing "Error: Logon failed, Invalid Password or playing in the account." because you're printing that unconditionally when an error occurs.







Also tagged with one or more of these keywords: Question, node.js, node-steam-user

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users