LeaguePHP / LeagueWrap

League of Legend API wrapper
MIT License
20 stars 7 forks source link

"Forbidden" error #18

Closed alberas closed 7 years ago

alberas commented 7 years ago

Hello, I was testing the league API and received a "Forbidden" in my screen. I checked at Riot Developers and the API was really down. I tried to catch the errer with LeagueWrap\Response\Http401 but didn't work. Any suggestions?

m1so commented 7 years ago

Check what exception gets thrown or catch one of the parent exceptions from https://github.com/LeaguePHP/LeagueWrap/blob/master/src/LeagueWrap/Response