diff --git a/src/Steeltoe.Common.Http/HttpClientHelper.cs b/src/Steeltoe.Common.Http/HttpClientHelper.cs index a94ce7a..963a801 100644 --- a/src/Steeltoe.Common.Http/HttpClientHelper.cs +++ b/src/Steeltoe.Common.Http/HttpClientHelper.cs @@ -233,7 +233,7 @@ namespace Steeltoe.Common.Http } catch (Exception e) { - logger?.LogError("GetAccessToken exception: {0} ,obtaining access token from: {1}", e, accessTokenUri); + logger?.LogError("GetAccessToken exception: {0} ,obtaining access token from: {1}", e, WebUtility.UrlEncode(accessTokenUri)); } finally {