From 91f37122e52de4c0cd2f401b887dcf0f83658767 Mon Sep 17 00:00:00 2001 From: Shni Date: Fri, 10 Oct 2025 01:28:54 -0500 Subject: [PATCH] Potential fix for code scanning alert no. 1: Clear-text logging of sensitive information Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- src/game/core/userService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/core/userService.ts b/src/game/core/userService.ts index 8989791..2e7c356 100644 --- a/src/game/core/userService.ts +++ b/src/game/core/userService.ts @@ -39,7 +39,7 @@ export async function ensureUserAndGuildExist( } }); } catch (error) { - logger.error({ userId, guildId, error }, 'Error ensuring User and Guild exist'); + logger.error({ error }, 'Error ensuring User and Guild exist'); throw error; } }