From 4b38af47a3ea0e623e9370a080d83fa75985f847 Mon Sep 17 00:00:00 2001 From: Caleb Doxsey Date: Tue, 27 Aug 2024 09:34:24 -0600 Subject: [PATCH] switch to error --- authorize/grpc.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/authorize/grpc.go b/authorize/grpc.go index cbec215dc..55866971c 100644 --- a/authorize/grpc.go +++ b/authorize/grpc.go @@ -194,7 +194,7 @@ func getClientCertificateInfo( chain, err := url.QueryUnescape(escapedChain) if err != nil { - log.Info(ctx).Str("chain", escapedChain).Err(err). + log.Error(ctx).Str("chain", escapedChain).Err(err). Msg(`received unexpected client certificate "chain" value`) return c } @@ -202,7 +202,7 @@ func getClientCertificateInfo( // Split the chain into the leaf and any intermediate certificates. p, rest := pem.Decode([]byte(chain)) if p == nil { - log.Info(ctx).Str("chain", escapedChain). + log.Error(ctx).Str("chain", escapedChain). Msg(`received unexpected client certificate "chain" value (no PEM block found)`) return c }