Added more logs in case of linting failure

This commit is contained in:
Matteo Biscosi 2026-01-09 17:32:24 +01:00
parent 89659cd7cf
commit e31446c384

View file

@ -3016,6 +3016,10 @@ local function validateParameter(k, v)
else
if (trace_failures) then
error("[LINT] Validation error: Unknown key '" .. k .. "' [" .. tostring(v) .. "]: missing validation perhaps?\n")
tprint("POST: ")
tprint(_POST)
tprint("GET: ")
tprint(_GET)
end
return false, nil
end