Closed Bl4CkGuuN closed 4 years ago
Why don't you check the response of your request? It errors, if the Response is NULL, so why don't you check if the response has Data before setting a variable?
Because I have absolutely no idea what I'm doing, also I hate js :D
ranking.ranking
is null, and trying to access a property of null is an error. You need to first check whether ranking.ranking
is not null.
My bot is crashing when it wants to check a profile, who didn't got a csgo rank.
How can I prevent that?
Some of my code:
"Crash":