fix logs
All checks were successful
Deploy Backend / deploy (push) Successful in 4m17s
Deploy Website / deploy (push) Successful in 5m36s

This commit is contained in:
Lee
2024-10-17 19:02:32 +01:00
parent 1350cdc0b1
commit dd8befa9e0
5 changed files with 9 additions and 7 deletions

View File

@ -42,8 +42,8 @@ connectScoreSaberWebSocket({
await PlayerService.trackScore(playerScore);
await ScoreService.notifyNumberOne(playerScore);
},
onDisconnect: error => {
logToChannel(
onDisconnect: async error => {
await logToChannel(
DiscordChannels.backendLogs,
new EmbedBuilder().setDescription(`ScoreSaber websocket disconnected: ${error}`)
);