lolfire-source
lolfire-source copied to clipboard
Several API Calls result in crash
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?
Known bug, it started crashing in this version, will fix it.
I can confirm this, I hope you can fix it easily :)
Any luck? :)