drobin04 / Repo-Issues-Tracker

Provides a small Desktop GUI for viewing and managing Issues on GitHub Repo's
GNU General Public License v3.0
1 stars 0 forks source link

Add check for whether stored auth token has expired #6

Open drobin04 opened 4 days ago

drobin04 commented 4 days ago

This could be as nice as actually making a separate API call and checking the response, or could just be a try catch around the loadrepo's function where if it fails, we highlight the Authenticate button again to indicate that the user needs to auth.

I believe right now when the auth token expires, it's going to generate an exception, maybe unhandled, maybe handled, would have to go look.