From 2eb59529ecd02cb087dfd39fefd85907988ee91a Mon Sep 17 00:00:00 2001 From: Shni Date: Fri, 10 Oct 2025 01:27:29 -0500 Subject: [PATCH] Potential fix for code scanning alert no. 2: 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/stats/service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/stats/service.ts b/src/game/stats/service.ts index dc18c5e..bf5a934 100644 --- a/src/game/stats/service.ts +++ b/src/game/stats/service.ts @@ -63,7 +63,7 @@ export async function updateStats( return stats; } catch (error) { - console.error(`Error updating stats for ${userId} in ${guildId}:`, error); + console.error("Error updating player stats", error); throw error; } }