From 401afe7c1af2585b5d0a95e0a86316f955112afe Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 12 Nov 2021 12:34:50 +0100 Subject: [PATCH] :paperclip: Change loggling level on oauth ns. --- backend/src/app/http/oauth.clj | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/backend/src/app/http/oauth.clj b/backend/src/app/http/oauth.clj index faa2c247e5..1e0b67498f 100644 --- a/backend/src/app/http/oauth.clj +++ b/backend/src/app/http/oauth.clj @@ -58,8 +58,7 @@ {:token (get data "access_token") :type (get data "token_type")}))) (catch Exception e - (l/error :hint "unexpected error on retrieve-access-token" - :cause e) + (l/warn :hint "unexpected error on retrieve-access-token" :cause e) nil))) (defn- qualify-props @@ -86,8 +85,7 @@ :props (->> (dissoc info :name :email) (qualify-props provider))}))) (catch Exception e - (l/error :hint "unexpected exception on retrieve-user-info" - :cause e) + (l/warn :hint "unexpected exception on retrieve-user-info" :cause e) nil))) (s/def ::backend ::us/not-empty-string)