Skip to content

Commit 28329d7

Browse files
ping-maxwellhimself65
authored andcommitted
fix(passkey): add error logs during client verification error (#7193)
1 parent 5630b50 commit 28329d7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

packages/passkey/src/client.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ export const getPasskeyActions = (
6969
$store.notify("$sessionSignal");
7070

7171
return verified;
72-
} catch {
72+
} catch (err) {
73+
// Error logs ran on the front-end
74+
console.error(`[Better Auth] Error verifying passkey`, err);
7375
return {
7476
data: null,
7577
error: {

0 commit comments

Comments
 (0)