eklypss / PUBGSharp

C# wrapper for PUBG stats API
25 stars 14 forks source link

Your Request could fail. #1

Closed jurgelionis closed 7 years ago

jurgelionis commented 7 years ago

I'd suggest wrapping it into try/catch block.

eklypss commented 7 years ago

I added some more checks for errors, from my experience (assuming your connection etc. is fine), the only time the request fails is when the player doesn't have data available. I'll take a closer look how it behaves later.