lolfire-source icon indicating copy to clipboard operation
lolfire-source copied to clipboard

Several API Calls result in crash

Open SBird1337 opened this issue 10 years ago • 3 comments

I've changed the Login Credentials as needed to let the API Log into the EUW Server, added the newest Version string and everything seems to be just fine, except when I try several calls the whole thing crashes / forces an automated relog:

Retrieving Summoner Name(/api/v1/euw/summoner/xxx) when summoner xxx does not exsit the whole process crashes, first line of the stacktrace:

TypeError: Cannot read property 'object' of null at D:\Users\XXX\Documents\lolfire\lolfire-source-master\api.js:33:56

The "stats" aswell as "aggregatedstats" returns the following and forces the client to relog:

{ "err": { "type": 17, "name": "_error", "id": 4, "data": null, "args": [] } }

Anyone got ideas?

SBird1337 avatar Nov 07 '13 15:11 SBird1337

Known bug, it started crashing in this version, will fix it.

perezpaya avatar Nov 07 '13 23:11 perezpaya

I can confirm this, I hope you can fix it easily :)

ohaz avatar Nov 13 '13 10:11 ohaz

Any luck? :)

WngmN avatar Nov 16 '13 21:11 WngmN