Stopped Unix plugin loader from throwing #4661

Tested on Mac OS X only
This commit is contained in:
Nick Bolton 2015-05-20 15:24:10 +01:00
parent 4746347fe7
commit f1af62927e
1 changed files with 2 additions and 2 deletions

View File

@ -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);