kenakamu / UCWA2.0-CS

C# library for UCWA 2.0
MIT License
24 stars 13 forks source link

Rethrow HttpRequestException only if Http fallback fails #18

Closed lazaromenezes closed 7 years ago

lazaromenezes commented 7 years ago

Hi,

I started getting exceptions after updating to 1.0.2 and noticed that it was an AuthenticationException but the http fallback wasn't working due the throw being executed even if the HTTP Get worked. This change handles if the response is still null after the exception loop is broken.

Thanks, Lazaro

kenakamu commented 7 years ago

cool, thanks!