mirror of
https://github.com/penpot/penpot.git
synced 2025-06-06 02:11:38 +02:00
📎 Change logging level on rpc registry.
This commit is contained in:
parent
2456b82e65
commit
586d95fb55
1 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@
|
||||||
(ex/raise :type :internal
|
(ex/raise :type :internal
|
||||||
:code :rlimit-not-configured
|
:code :rlimit-not-configured
|
||||||
:hint (str/fmt "%s rlimit not configured" key)))
|
: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]
|
(fn [cfg params]
|
||||||
(rlm/execute rlinst (f cfg params))))
|
(rlm/execute rlinst (f cfg params))))
|
||||||
f))
|
f))
|
||||||
|
@ -76,7 +76,7 @@
|
||||||
(let [f (wrap-with-rlimits cfg f mdata)
|
(let [f (wrap-with-rlimits cfg f mdata)
|
||||||
f (wrap-with-metrics cfg f mdata)
|
f (wrap-with-metrics cfg f mdata)
|
||||||
spec (or (::sv/spec mdata) (s/spec any?))]
|
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]
|
(fn [params]
|
||||||
(when (and (:auth mdata true) (not (uuid? (:profile-id params))))
|
(when (and (:auth mdata true) (not (uuid? (:profile-id params))))
|
||||||
(ex/raise :type :authentication
|
(ex/raise :type :authentication
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue