CapsuleFarmerEvolved icon indicating copy to clipboard operation
CapsuleFarmerEvolved copied to clipboard

feat: Handling 403 exceptions gracefully

Open hypixus opened this issue 2 years ago • 1 comments

Fixes #112

Summary of Changes

Added actual handling of 403 exceptions.

Additional context

Riot outages cause application failure without meaningful message in logs. This change will report them as 403s even without debugging logs enabled.

Discord username (if different from GitHub): Hypixus#2707

Testing instructions

Attempt to connect to riot servers via a banned IP address (some vpns) or during server overload.

How to download the PR for testing

  1. Clone this PR
  2. Run gh pr checkout 124 (Requires GitHub CLI)
  3. Follow the Advanced Installation Guides from the Wiki

hypixus avatar Feb 12 '23 02:02 hypixus

Note: Was thinking of adding new exception type to have a customized message sort of like Riot authentication servers are overloaded or you connect from a banned IP. Please try disabling your VPN.

hypixus avatar Feb 12 '23 02:02 hypixus