debug: check M420 in measureByID

This commit is contained in:
Benjamin Admin
2026-05-15 14:53:49 +02:00
parent de35dfce18
commit 7a27dbc01b
@@ -262,6 +262,11 @@ func (h *IACEHandler) InitializeProject(c *gin.Context) {
created := 0
const maxMitigationsPerHazard = 5
if _, ok := measureByID["M420"]; ok {
fmt.Println("DEBUG: M420 found in measureByID")
} else {
fmt.Println("DEBUG: M420 NOT in measureByID, total:", len(measureByID))
}
// Build a flat list of all hazard IDs for iteration
var allHazardIDs []uuid.UUID