Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8db03dd

Browse files
committedJul 1, 2024··
fix: extra error info
1 parent 288a281 commit 8db03dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎web/netlify/functions/authUser.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const authUser = async (event) => {
7575
try {
7676
await siweMessage.verify({ signature, nonce: nonceData.nonce, time: new Date().toISOString() });
7777
} catch (err) {
78-
throw new Error("Invalid signer");
78+
throw new Error("Invalid signer: " + JSON.stringify(err));
7979
}
8080

8181
const { error } = await supabase.from("user-nonce").delete().match({ address: lowerCaseAddress });

0 commit comments

Comments
 (0)
Please sign in to comment.