diff --git a/lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.cpp b/lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.cpp index da4c7ba475068..24908e4a7a090 100644 --- a/lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.cpp +++ b/lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.cpp @@ -2615,7 +2615,7 @@ SwiftASTContextSP TypeSystemSwiftTypeRefForExpressions::GetSwiftASTContext( if (target_sp) { if (StreamSP errs_sp = target_sp->GetDebugger().GetAsyncErrorStream()) errs_sp->Printf( - "Could not import Swift modules for translation unit: %s", + "Could not import Swift modules for translation unit: %s\n", llvm::toString(std::move(error)).c_str()); } else llvm::consumeError(std::move(error));