From a8a454cfc0af73111716975639d037c039b091ad Mon Sep 17 00:00:00 2001 From: William Godbe <wigodbe@microsoft.com> Date: Tue, 10 Aug 2021 15:57:47 -0700 Subject: [PATCH] Merged PR 15469: Clean up logging (#35241) Clean up logging Co-authored-by: Hao Kung <haok@microsoft.com> --- src/Security/Authentication/JwtBearer/src/JwtBearerHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Security/Authentication/JwtBearer/src/JwtBearerHandler.cs b/src/Security/Authentication/JwtBearer/src/JwtBearerHandler.cs index de2f69207d2..647d2698af0 100644 --- a/src/Security/Authentication/JwtBearer/src/JwtBearerHandler.cs +++ b/src/Security/Authentication/JwtBearer/src/JwtBearerHandler.cs @@ -181,7 +181,7 @@ namespace Microsoft.AspNetCore.Authentication.JwtBearer return AuthenticateResult.Fail(authenticationFailedContext.Exception); } - return AuthenticateResult.Fail("No SecurityTokenValidator available for token: " + token ?? "[null]"); + return AuthenticateResult.Fail("No SecurityTokenValidator available for token."); } catch (Exception ex) { -- GitLab