planetscale/cli

`switch` command fails with poor error message when auth is expired

mscoutermarsh opened this issue · 0 comments

When running:

 pscale branch switch branch-name --database my-db --create

I was getting back:

Error: internal error, response body doesn't match error type signature

Once I ran pscale auth, it started working.

Expected:
Should have received the auth expired error message instead.