mirror of
https://github.com/penpot/penpot.git
synced 2026-02-13 07:02:58 +00:00
✨ Make the restriction errors report as warning to logging
This commit is contained in:
@@ -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}))))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user