From f18be260545dcc1338ffbb4a8a8f356e754e1bb5 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 10 Apr 2024 09:48:34 +0200 Subject: [PATCH] :paperclip: Change log levels on webhooks loggers ns --- backend/src/app/loggers/webhooks.clj | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/backend/src/app/loggers/webhooks.clj b/backend/src/app/loggers/webhooks.clj index 3982aa48e..5f13bc55b 100644 --- a/backend/src/app/loggers/webhooks.clj +++ b/backend/src/app/loggers/webhooks.clj @@ -136,11 +136,11 @@ "application/transit+json" (t/encode-str event) "application/x-www-form-urlencoded" (uri/map->query-string event))] - (l/debug :hint "run webhook" - :event-name (:name event) - :webhook-id (:id whook) - :webhook-uri (:uri whook) - :webhook-mtype (:mtype whook)) + (l/dbg :hint "run webhook" + :event-name (:name event) + :webhook-id (:id whook) + :webhook-uri (:uri whook) + :webhook-mtype (:mtype whook)) (let [req {:uri (:uri whook) :headers {"content-type" (:mtype whook) @@ -158,8 +158,8 @@ (report-delivery! whook req nil err) (update-webhook! whook err) (when (= err "unknown") - (l/error :hint "unknown error on webhook request" - :cause cause)))))))))) + (l/err :hint "unknown error on webhook request" + :cause cause)))))))))) (defn interpret-response [{:keys [status] :as response}]