diff --git a/integration-tests/source/IntegrationTestResourceHandler.cpp b/integration-tests/source/IntegrationTestResourceHandler.cpp index 21bebb5f..1e48756f 100644 --- a/integration-tests/source/IntegrationTestResourceHandler.cpp +++ b/integration-tests/source/IntegrationTestResourceHandler.cpp @@ -482,7 +482,7 @@ void IntegrationTestResourceHandler::LogError( const std::string &errorMessage) { std::string message = logMessage + " " + resource + " " + errorMessage; - Aws::OStringStream ss(logMessage); + Aws::OStringStream ss(message); logger->LogStream(Aws::Utils::Logging::LogLevel::Error, TAG, ss); }