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>
This commit is contained in:
Shni
2025-10-10 01:28:54 -05:00
committed by GitHub
parent 40218b0697
commit 91f37122e5

View File

@@ -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;
}
}