From efc4ab404edb28b12503474ed31730e470d99053 Mon Sep 17 00:00:00 2001 From: Arnaud Gissinger Date: Wed, 8 Apr 2026 11:03:06 +0200 Subject: [PATCH] fix: remove redundant error logging comment in onSuccess handler --- server/api/webauthn/register.post.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/api/webauthn/register.post.ts b/server/api/webauthn/register.post.ts index 3c7e04a..b609510 100644 --- a/server/api/webauthn/register.post.ts +++ b/server/api/webauthn/register.post.ts @@ -45,8 +45,6 @@ export default defineWebAuthnRegisterEventHandler({ // nuxt-auth-utils wraps any non-H3Error thrown from onSuccess into a // generic 500 "Failed to register credential" before our onError ever // sees it (see node_modules/nuxt-auth-utils/.../webauthn/register.js). - // Log the original error here so we can see it in Better Stack instead - // of staring at the sanitized wrapper. const email = normalizeEmail(user.userName) try { const dbUser = await ensureUser(email)