mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-07-09 18:45:22 +02:00
Fixed some stuff
This commit is contained in:
@ -17,7 +17,7 @@ ModuleManager::Module_t ModuleManager::loadModule(std::string path) {
|
||||
#ifdef _WIN32
|
||||
mod.handle = LoadLibraryA(path.c_str());
|
||||
if (mod.handle == NULL) {
|
||||
spdlog::error("Couldn't load {0}.", path);
|
||||
spdlog::error("Couldn't load {0}. Error code: {1}", path, GetLastError());
|
||||
mod.handle = NULL;
|
||||
return mod;
|
||||
}
|
||||
|
Reference in New Issue
Block a user