diff --git a/src/GovUK.Dfe.ExternalApplications.Api.Client/Security/AzureBearerTokenHandler.cs b/src/GovUK.Dfe.ExternalApplications.Api.Client/Security/AzureBearerTokenHandler.cs index 7b91e928..ff24e6c5 100644 --- a/src/GovUK.Dfe.ExternalApplications.Api.Client/Security/AzureBearerTokenHandler.cs +++ b/src/GovUK.Dfe.ExternalApplications.Api.Client/Security/AzureBearerTokenHandler.cs @@ -39,8 +39,8 @@ protected override async Task SendAsync( if (response.StatusCode == System.Net.HttpStatusCode.Unauthorized) { - logger.LogError(">>>>>>>>>> Authentication >>> 401 Unauthorized response received - Azure token may be invalid or expired for {Method} {Uri}", - request.Method, request.RequestUri); + logger.LogError(">>>>>>>>>> Authentication >>> 401 Unauthorized response received - Azure token may be invalid or expired for {Method} {Uri} [{token}]", + request.Method, request.RequestUri, azureToken); } else if (response.StatusCode == System.Net.HttpStatusCode.Forbidden) {