add debug logging to validate-with-throw
This commit is contained in:
parent
3a0588dd65
commit
2c3d3cef2f
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue