Ver código fonte

HPCC-13116 Spurious non-fatal error message from eclcc for unloadable plugin

The error message when a plugin cannot be loaded is unhelpful.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 10 anos atrás
pai
commit
6c19743d05
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      system/jlib/jutil.cpp

+ 1 - 1
system/jlib/jutil.cpp

@@ -404,7 +404,7 @@ HINSTANCE LoadSharedObject(const char *name, bool isGlobal, bool raiseOnError)
         if (h == NULL)
         if (h == NULL)
         {
         {
             StringBuffer dlErrorMsg(dlerror());
             StringBuffer dlErrorMsg(dlerror());
-            DBGLOG("Error loading %s: %s", name, dlErrorMsg.str());
+            DBGLOG("Warning: Could not load %s: %s", name, dlErrorMsg.str());
             if (raiseOnError)
             if (raiseOnError)
             {
             {
                 if (isCorruptDll(dlErrorMsg.str()))
                 if (isCorruptDll(dlErrorMsg.str()))