From f1af62927ed66d172bf78a5d45b23bd85a60b83c Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Wed, 20 May 2015 15:24:10 +0100 Subject: [PATCH] Stopped Unix plugin loader from throwing #4661 Tested on Mac OS X only --- src/lib/arch/unix/ArchPluginUnix.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/arch/unix/ArchPluginUnix.cpp b/src/lib/arch/unix/ArchPluginUnix.cpp index 997c2748..3e390f06 100644 --- a/src/lib/arch/unix/ArchPluginUnix.cpp +++ b/src/lib/arch/unix/ArchPluginUnix.cpp @@ -76,8 +76,8 @@ ArchPluginUnix::load() void* library = dlopen(path.c_str(), RTLD_LAZY); if (library == NULL) { - LOG((CLOG_ERR "failed to load plugin: %s", (*it).c_str())); - throw XArch(dlerror()); + LOG((CLOG_ERR "failed to load plugin '%s', error: %s", (*it).c_str(), dlerror())); + continue; } String filename = synergy::string::removeFileExt(*it);