Author: jsdelfino
Date: Sun Sep 10 10:05:48 2006
New Revision: 441973
URL: http://svn.apache.org/viewvc?view=rev&rev=441973
Log:
Log more diagnostic information when a shared library cannot be loaded
Modified:
incubator/tuscany/cpp/sca/runtime/core/src/tuscany/sca/core/SCARuntime.cpp
Modified:
incubator/tuscany/cpp/sca/runtime/core/src/tuscany/sca/core/SCARuntime.cpp
URL:
http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/runtime/core/src/tuscany/sca/core/SCARuntime.cpp?view=diff&rev=441973&r1=441972&r2=441973
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/src/tuscany/sca/core/SCARuntime.cpp
(original)
+++ incubator/tuscany/cpp/sca/runtime/core/src/tuscany/sca/core/SCARuntime.cpp
Sun Sep 10 10:05:48 2006
@@ -215,9 +215,10 @@
extension();
}
}
- catch (TuscanyRuntimeException &)
+ catch (TuscanyRuntimeException& ex)
{
- LOGERROR_1(0, "SCARuntime::loadExtensions failed to load
extension library: %s", files[i].getFileName().c_str());
+ LOGERROR_3(0, "SCARuntime::loadExtensions failed to load
extension library: %s: %s: %s",
+ files[i].getFileName().c_str(), ex.getEClassName(),
ex.getMessageText());
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]