Make the restriction errors report as warning to logging

This commit is contained in:
Andrey Antukh
2025-10-14 12:33:24 +02:00
parent 39bdf026ca
commit 25521b18ff

View File

@@ -61,8 +61,7 @@
::yres/body data}
(binding [l/*context* (request->context request)]
(l/err :hint "restriction error"
:cause err)
(l/wrn :hint "restriction error" :cause err)
{::yres/status 400
::yres/body data}))))