From 13a268a3e1e9fdaa32397d86b9185cef8a80c7b4 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Sat, 1 Apr 2023 19:10:47 +0200 Subject: [PATCH 1/2] Update module.cpp --- core/src/module.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/module.cpp b/core/src/module.cpp index 3aa525c4..29d8f133 100644 --- a/core/src/module.cpp +++ b/core/src/module.cpp @@ -33,7 +33,7 @@ ModuleManager::Module_t ModuleManager::loadModule(std::string path) { #else mod.handle = dlopen(path.c_str(), RTLD_LAZY | RTLD_LOCAL); if (mod.handle == NULL) { - flog::error("Couldn't load {0}.", path); + flog::error("Couldn't load {0}: {1}", path, dlerror()); mod.handle = NULL; return mod; } @@ -183,4 +183,4 @@ void ModuleManager::doPostInitAll() { flog::info("Running post-init for {0}", name); inst.instance->postInit(); } -} \ No newline at end of file +} From 190cea8e4ebbccf3f767d04058758021d68baaee Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Mon, 3 Apr 2023 19:44:47 +0200 Subject: [PATCH 2/2] added missing include --- core/src/utils/net.h | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/utils/net.h b/core/src/utils/net.h index a35a6fbb..2196fc09 100644 --- a/core/src/utils/net.h +++ b/core/src/utils/net.h @@ -1,5 +1,6 @@ #pragma once #include +#include #include #include #include