turso-cli
turso-cli copied to clipboard
unhelpful error message when shell connecting to a database URL
We have just changed the format of the shell commands to require an --instance or --location flag.
But the error message in case someone passes an actual turso URL is not that helpful:
turso db shell libsql://prompt-deadpool-glommer.turso.io
Error: failed to connect to database. err: handshake error: Authentication failed: The JWT is invalid