MrPotato Posted May 29, 2019 Report Share Posted May 29, 2019 client.getTradeURL(function(err, details) { if(err) return console.log("error: " + err); console.log(badvar); });log:error: ReferenceError: badvar is not defined Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted May 29, 2019 Report Share Posted May 29, 2019 I would hazard a guess that badvar is not defined. Quote Link to comment Share on other sites More sharing options...
MrPotato Posted May 29, 2019 Author Report Share Posted May 29, 2019 yes, but when i get error inside the function, the function calls again with err Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted May 30, 2019 Report Share Posted May 30, 2019 Run npm update and it will throw properly. MrPotato 1 Quote Link to comment Share on other sites More sharing options...
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.