From 5c921253d76a93e9f79e9933765ece74c72cd2f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20=C5=BBuraw?= <9116238+krzysztofzuraw@users.noreply.github.com> Date: Mon, 22 Jul 2024 13:07:01 +0200 Subject: [PATCH] log stuff --- src/verify-signature.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/verify-signature.ts b/src/verify-signature.ts index 2c36071..be4fc5a 100644 --- a/src/verify-signature.ts +++ b/src/verify-signature.ts @@ -70,7 +70,7 @@ export const verifySignatureWithJwks = async (jwks: string, signature: string, r await jose.flattenedVerify(jws, localJwks); debug("JWKS verified"); } catch (error) { - debug("JWKS verification failed with error", error); + debug("JWKS verification failed with error", localJwks, jws); throw new Error("JWKS verification failed"); } };