mirror of
https://github.com/penpot/penpot.git
synced 2025-05-25 22:06:11 +02:00
📎 Update logging on webhook task handler
This commit is contained in:
parent
d435b17452
commit
0965c71a08
1 changed files with 2 additions and 4 deletions
|
@ -67,12 +67,10 @@
|
||||||
[_ {:keys [::db/pool] :as cfg}]
|
[_ {:keys [::db/pool] :as cfg}]
|
||||||
(fn [{:keys [props] :as task}]
|
(fn [{:keys [props] :as task}]
|
||||||
(let [event (::event props)]
|
(let [event (::event props)]
|
||||||
|
(l/dbg :hint "process webhook event" :name (:name event))
|
||||||
(l/debug :hint "process webhook event"
|
|
||||||
:name (:name event))
|
|
||||||
|
|
||||||
(when-let [items (lookup-webhooks cfg event)]
|
(when-let [items (lookup-webhooks cfg event)]
|
||||||
(l/trace :hint "webhooks found for event" :total (count items))
|
(l/trc :hint "webhooks found for event" :total (count items))
|
||||||
|
|
||||||
(db/with-atomic [conn pool]
|
(db/with-atomic [conn pool]
|
||||||
(doseq [item items]
|
(doseq [item items]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue