diff --git a/src/Microsoft.AspNetCore.Server.IntegrationTesting/Common/LoggingHandler.cs b/src/Microsoft.AspNetCore.Server.IntegrationTesting/Common/LoggingHandler.cs index 31d52aed07..a1dc7e24db 100644 --- a/src/Microsoft.AspNetCore.Server.IntegrationTesting/Common/LoggingHandler.cs +++ b/src/Microsoft.AspNetCore.Server.IntegrationTesting/Common/LoggingHandler.cs @@ -26,7 +26,7 @@ namespace Microsoft.AspNetCore.Server.IntegrationTesting } catch (Exception ex) { - _logger.LogError(0, ex, "Exception while sending '{method} {url}'", request.Method, request.RequestUri, request.RequestUri); + _logger.LogError(0, ex, "Exception while sending '{method} {url}' : {exception}", request.Method, request.RequestUri, ex); throw; } }