aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/logging
diff options
context:
space:
mode:
authorunknown <for.oliver.kirkham@gmail.com>2023-02-11 03:08:43 +0000
committerBobTheBob <for.oliver.kirkham@gmail.com>2023-02-22 22:18:56 +0000
commit07e386b12cb1a92c99cd5e3034cb4f94f28fb3eb (patch)
treee1c05c9bb83b8860daa2dd18f96a76bae6c5bff9 /NorthstarDLL/logging
parente1c781f317e1d798eff5d34d87f9b5ffa3e538f0 (diff)
downloadNorthstarLauncher-07e386b12cb1a92c99cd5e3034cb4f94f28fb3eb.tar.gz
NorthstarLauncher-07e386b12cb1a92c99cd5e3034cb4f94f28fb3eb.zip
commit for merge
Diffstat (limited to 'NorthstarDLL/logging')
-rw-r--r--NorthstarDLL/logging/crashhandler.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/NorthstarDLL/logging/crashhandler.cpp b/NorthstarDLL/logging/crashhandler.cpp
index 5d120d1f..38d9312f 100644
--- a/NorthstarDLL/logging/crashhandler.cpp
+++ b/NorthstarDLL/logging/crashhandler.cpp
@@ -33,12 +33,10 @@ void PrintExceptionLog(ExceptionLog& exc)
if (g_pModManager)
{
spdlog::error("Loaded mods: ");
- for (const auto& mod : g_pModManager->m_LoadedMods)
+ for (const Mod& mod : g_pModManager->GetMods())
{
if (mod.m_bEnabled)
- {
spdlog::error("{} {}", mod.Name, mod.Version);
- }
}
}
spdlog::error(exc.cause);