parent
4746347fe7
commit
f1af62927e
|
@ -76,8 +76,8 @@ ArchPluginUnix::load()
|
||||||
void* library = dlopen(path.c_str(), RTLD_LAZY);
|
void* library = dlopen(path.c_str(), RTLD_LAZY);
|
||||||
|
|
||||||
if (library == NULL) {
|
if (library == NULL) {
|
||||||
LOG((CLOG_ERR "failed to load plugin: %s", (*it).c_str()));
|
LOG((CLOG_ERR "failed to load plugin '%s', error: %s", (*it).c_str(), dlerror()));
|
||||||
throw XArch(dlerror());
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
String filename = synergy::string::removeFileExt(*it);
|
String filename = synergy::string::removeFileExt(*it);
|
||||||
|
|
Loading…
Reference in New Issue