fix(state): improve notification error logging

This commit is contained in:
ayn2op 2025-12-21 18:42:46 -05:00
parent 6972ac6cb2
commit 88c7a75222

View file

@ -150,7 +150,7 @@ func onMessageCreate(message *gateway.MessageCreateEvent) {
}
if err := notifications.Notify(discordState, message, app.cfg); err != nil {
slog.Error("Notification failed", "err", err)
slog.Error("failed to notify", "err", err, "channel_id", message.ChannelID, "message_id", message.ID)
}
}