From 7c321a79c334ee06a2cd5e5dd68bb3294c86ea14 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Thu, 20 Jul 2023 21:41:22 +0200 Subject: [PATCH] impr: Print message if no stacktrace can be collected --- lib/libimhex/source/helpers/stacktrace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libimhex/source/helpers/stacktrace.cpp b/lib/libimhex/source/helpers/stacktrace.cpp index 14d3a4314..a443bd001 100644 --- a/lib/libimhex/source/helpers/stacktrace.cpp +++ b/lib/libimhex/source/helpers/stacktrace.cpp @@ -179,7 +179,7 @@ namespace hex::stacktrace { void initialize() { } - std::vector getStackTrace() { return { }; } + std::vector getStackTrace() { return { StackFrame { "??", "Stacktrace collecting not available!", 0 } }; } }