From 0cb917933b8b5ed4f36a4494e874a313efc31b25 Mon Sep 17 00:00:00 2001 From: Denis Arh Date: Fri, 16 Jul 2021 13:27:07 +0200 Subject: [PATCH] Make OAuth2 runtime issues log as warnings (not errors) --- auth/oauth2/oauth2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/oauth2/oauth2.go b/auth/oauth2/oauth2.go index 72fa5adb4..d443cd399 100644 --- a/auth/oauth2/oauth2.go +++ b/auth/oauth2/oauth2.go @@ -91,7 +91,7 @@ func NewServer(manager *manage.Manager) *server.Server { } logger.Default(). - Error(msg) + Warn(msg) }) return srv