log inner exceptions on plugins load

This commit is contained in:
UbitUmarov
2024-05-15 19:07:45 +01:00
parent a79f5d58f6
commit 42aa84a06f

View File

@@ -103,6 +103,8 @@ namespace OpenSim.Services.Base
m_log.ErrorFormat(
"[SERVICE BASE]: Failed to load plugin {0} from {1} with args {2}",
interfaceName, dllName, string.Join(", ", strArgs.ToArray()), e);
if (e.InnerException != null)
m_log.Error($"\"[SERVICE BASE]: inner expection {e.InnerException.Message}");
return null;
}