mirror of
https://github.com/penpot/penpot.git
synced 2026-02-14 07:33:04 +00:00
📎 Change logging level on rpc registry.
This commit is contained in:
committed by
Alonso Torres
parent
2456b82e65
commit
586d95fb55
@@ -66,7 +66,7 @@
|
||||
(ex/raise :type :internal
|
||||
:code :rlimit-not-configured
|
||||
:hint (str/fmt "%s rlimit not configured" key)))
|
||||
(log/debugf "Adding rlimit to '%s' rpc handler." (::sv/name mdata))
|
||||
(log/tracef "Adding rlimit to '%s' rpc handler." (::sv/name mdata))
|
||||
(fn [cfg params]
|
||||
(rlm/execute rlinst (f cfg params))))
|
||||
f))
|
||||
@@ -76,7 +76,7 @@
|
||||
(let [f (wrap-with-rlimits cfg f mdata)
|
||||
f (wrap-with-metrics cfg f mdata)
|
||||
spec (or (::sv/spec mdata) (s/spec any?))]
|
||||
(log/debugf "Registering '%s' command to rpc service." (::sv/name mdata))
|
||||
(log/tracef "Registering '%s' command to rpc service." (::sv/name mdata))
|
||||
(fn [params]
|
||||
(when (and (:auth mdata true) (not (uuid? (:profile-id params))))
|
||||
(ex/raise :type :authentication
|
||||
|
||||
Reference in New Issue
Block a user