diff --git a/packages/jwt/src/signer.ts b/packages/jwt/src/signer.ts index bf61792..834aed1 100644 --- a/packages/jwt/src/signer.ts +++ b/packages/jwt/src/signer.ts @@ -22,6 +22,6 @@ export function createJwtSigner(keypair: Keypair): JwtSigner { case "Ed25519": return EdDSASigner(keypair.privateKey) default: - throw new Error("Unsupported algorithm", keypair.curve) + throw new Error(`Unsupported algorithm: ${keypair.curve}`) } }