mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 00:10:11 -05:00
📎 Change log levels on webhooks loggers ns
This commit is contained in:
parent
34534c924f
commit
f18be26054
1 changed files with 7 additions and 7 deletions
|
@ -136,7 +136,7 @@
|
||||||
"application/transit+json" (t/encode-str event)
|
"application/transit+json" (t/encode-str event)
|
||||||
"application/x-www-form-urlencoded" (uri/map->query-string event))]
|
"application/x-www-form-urlencoded" (uri/map->query-string event))]
|
||||||
|
|
||||||
(l/debug :hint "run webhook"
|
(l/dbg :hint "run webhook"
|
||||||
:event-name (:name event)
|
:event-name (:name event)
|
||||||
:webhook-id (:id whook)
|
:webhook-id (:id whook)
|
||||||
:webhook-uri (:uri whook)
|
:webhook-uri (:uri whook)
|
||||||
|
@ -158,7 +158,7 @@
|
||||||
(report-delivery! whook req nil err)
|
(report-delivery! whook req nil err)
|
||||||
(update-webhook! whook err)
|
(update-webhook! whook err)
|
||||||
(when (= err "unknown")
|
(when (= err "unknown")
|
||||||
(l/error :hint "unknown error on webhook request"
|
(l/err :hint "unknown error on webhook request"
|
||||||
:cause cause))))))))))
|
:cause cause))))))))))
|
||||||
|
|
||||||
(defn interpret-response
|
(defn interpret-response
|
||||||
|
|
Loading…
Reference in a new issue