aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/logging
diff options
context:
space:
mode:
authorunknown <for.oliver.kirkham@gmail.com>2023-02-11 03:08:43 +0000
committerunknown <for.oliver.kirkham@gmail.com>2023-02-11 03:08:43 +0000
commitc333ba84bee44549bb15675f353e04d22fb9f53c (patch)
treef62b52a47556e531ac43fad99149b743b96537a0 /NorthstarDLL/logging
parenta4e798b2778a8606f56cc78ce11a5889cf5a8b5a (diff)
downloadNorthstarLauncher-c333ba84bee44549bb15675f353e04d22fb9f53c.tar.gz
NorthstarLauncher-c333ba84bee44549bb15675f353e04d22fb9f53c.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 d4a54169..84f8ac99 100644
--- a/NorthstarDLL/logging/crashhandler.cpp
+++ b/NorthstarDLL/logging/crashhandler.cpp
@@ -34,12 +34,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);