Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Log the underlying error on audit list 500s
rcourtman27bd31684a9f
diff --git a/internal/api/activity_audit_handlers.go b/internal/api/activity_audit_handlers.goindex 90d8bfd901..62c6567139 100644--- a/internal/api/activity_audit_handlers.go+++ b/internal/api/activity_audit_handlers.go@@ -14,6 +14,7 @@ import (unifiedresources "github.com/rcourtman/pulse-go-rewrite/internal/unifiedresources""github.com/rcourtman/pulse-go-rewrite/pkg/audit"+ "github.com/rs/zerolog/log")// validAuditEventID matches canonical action IDs plus UUID-style audit IDs.@@ -104,6 +105,7 @@ func (h *AuditHandlers) HandleListAuditEvents(w http.ResponseWriter, r *http.Req// Query events from the current loggerevents, err := logger.Query(filter)if err != nil {+ log.Error().Err(err).Str("org_id", orgID).Msg("audit list: query failed")writeErrorResponse(w, http.StatusInternalServerError, "query_failed", "Failed to query audit events", nil)return}@@ -114,6 +116,7 @@ func (h *AuditHandlers) HandleListAuditEvents(w http.ResponseWriter, r *http.ReqtotalCount, err := logger.Count(countFilter)if err != nil {+ log.Error().Err(err).Str("org_id", orgID).Msg("audit list: count failed")writeErrorResponse(w, http.StatusInternalServerError, "query_failed", "Failed to count audit events", nil)return}