Closed XtremeOwnageDotCom closed 2 years ago
Added a top-level exception handler to redirect users to a logout prompt instead... as a temporary patch.
A work around was issued in 4.1.3, which appears to have done the job.... not very elegant, but, is effective.
If a user tries to leverage warbot.dev, but has a stale cookie, the user will receive an error with no indication of what the issue is.
As a stop-gap, add top-level try/catch to catch 401 unauthorized exceptions from discord, and redirect them to the logout page.