Added RiotService error check