Merge pull request #17 from Shnimlz/alert-autofix-2
Potential fix for code scanning alert no. 2: Clear-text logging of sensitive information
This commit is contained in:
@@ -63,7 +63,7 @@ export async function updateStats(
|
|||||||
|
|
||||||
return stats;
|
return stats;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(`Error updating stats for ${userId} in ${guildId}:`, error);
|
console.error("Error updating player stats", error);
|
||||||
throw error;
|
throw error;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user