hitsave-io / xyz

Monorepo for HitSave
1 stars 0 forks source link

bug: keygen stacktrace #110

Open seabo opened 1 year ago

seabo commented 1 year ago

If my system has an invalid JWT (usually just because it's expired, but possible also if actually malformed / incorrectly signed), then when I run hitsave keygen, it crashes and I get a huge stack trace.

The API is returning 403 Forbidden, so this should be handled by the Python client. Something like auto-running the login flow first and coming back to the keygen after that bit is done.