MrPotato Posted May 29, 2019 Report 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
Dr. McKay Posted May 29, 2019 Report Posted May 29, 2019 I would hazard a guess that badvar is not defined. Quote
MrPotato Posted May 29, 2019 Author Report Posted May 29, 2019 yes, but when i get error inside the function, the function calls again with err Quote
Dr. McKay Posted May 30, 2019 Report Posted May 30, 2019 Run npm update and it will throw properly. MrPotato 1 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.