diff --git a/go/cmd/emailnotifierjob/main.go b/go/cmd/emailnotifierjob/main.go index e600089..325cdc3 100644 --- a/go/cmd/emailnotifierjob/main.go +++ b/go/cmd/emailnotifierjob/main.go @@ -114,6 +114,7 @@ func runNotificationCycle( slog.Error("failed to get connected humans", "error", err) // Continue without presence data — worst case we send an email to someone who's online } else if ch, ok := presenceResp.Presences["_all"]; ok { + slog.Info("gathered bulk presence", "# of humans present", fmt.Sprintf("%d", len(ch.HumanIds))) for _, id := range ch.HumanIds { allOnline[id] = true } @@ -170,6 +171,7 @@ func runNotificationCycle( for humanId, count := range behindCounts { // Skip online users if allOnline[humanId] { + slog.Info("human online...skipping email", "humanId", humanId) continue }