add debug logging to validate-with-throw

This commit is contained in:
Travis Shears 2025-08-18 10:05:16 +02:00
parent 3a0588dd65
commit 2c3d3cef2f

View file

@ -4,7 +4,7 @@
[malli.core :as m])) [malli.core :as m]))
(defn validate-with-throw [value schema] (defn validate-with-throw [value schema]
(tel/log! {:level :info :data {:value value :schema schema}} "Validating value") (tel/log! {:level :debug :data {:value value :schema schema}} "Validating value")
(if (m/validate schema value) (if (m/validate schema value)
value value
(do (do