[mapguide-commits] r9667 - sandbox/jng/catch2/Server/src/Core
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Wed Jul 15 05:01:57 PDT 2020
Author: jng
Date: 2020-07-15 05:01:56 -0700 (Wed, 15 Jul 2020)
New Revision: 9667
Modified:
sandbox/jng/catch2/Server/src/Core/TestCommand.cpp
Log:
Print out reason for dlopen() failure via dlerror()
Modified: sandbox/jng/catch2/Server/src/Core/TestCommand.cpp
===================================================================
--- sandbox/jng/catch2/Server/src/Core/TestCommand.cpp 2020-07-13 17:35:50 UTC (rev 9666)
+++ sandbox/jng/catch2/Server/src/Core/TestCommand.cpp 2020-07-15 12:01:56 UTC (rev 9667)
@@ -83,7 +83,7 @@
}
else
{
- ACE_DEBUG((LM_INFO, ACE_TEXT("Cannot open library: %s\n"), library.c_str()));
+ ACE_DEBUG((LM_INFO, ACE_TEXT("Cannot open library: %s (reason: %s)\n"), library.c_str(), dlerror()));
throw new MgUnclassifiedException(L"MgTestCommand.Execute", __LINE__, __WFILE__, NULL, L"", NULL);
}
#endif // _WIN32
More information about the mapguide-commits
mailing list