From 8df034ed6b3a1a52bd268ed43e783c35b687408f Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Mon, 28 Jul 2025 20:56:05 -0400 Subject: Add LogForException APIs to pass stack trace information separate from the message --- plugins/rtti/plugin.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/rtti/plugin.cpp') diff --git a/plugins/rtti/plugin.cpp b/plugins/rtti/plugin.cpp index d94be592..6f1a3e2f 100644 --- a/plugins/rtti/plugin.cpp +++ b/plugins/rtti/plugin.cpp @@ -29,7 +29,7 @@ void RTTIAnalysis(const Ref& analysisContext) } catch (std::exception& e) { - LogError("MSVC RTTI Analysis failed with uncaught exception: %s", e.what()); + LogErrorForException(e, "MSVC RTTI Analysis failed with uncaught exception: %s", e.what()); } } @@ -41,7 +41,7 @@ void RTTIAnalysis(const Ref& analysisContext) } catch (std::exception& e) { - LogError("Itanium RTTI Analysis failed with uncaught exception: %s", e.what()); + LogErrorForException(e, "Itanium RTTI Analysis failed with uncaught exception: %s", e.what()); } } @@ -60,7 +60,7 @@ void VFTAnalysis(const Ref& analysisContext) } catch (std::exception& e) { - LogError("MSVC VFT Analysis failed with uncaught exception: %s", e.what()); + LogErrorForException(e, "MSVC VFT Analysis failed with uncaught exception: %s", e.what()); } try @@ -71,7 +71,7 @@ void VFTAnalysis(const Ref& analysisContext) } catch (std::exception& e) { - LogError("Itanium VFT Analysis failed with uncaught exception: %s", e.what()); + LogErrorForException(e, "Itanium VFT Analysis failed with uncaught exception: %s", e.what()); } } -- cgit v1.3.1