mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
When a plugin fails to load because a DLL is missing, log which DLL it is
This commit is contained in:
@@ -128,6 +128,13 @@ namespace OpenSim.Server.Base
|
||||
|
||||
return null;
|
||||
}
|
||||
catch (ReflectionTypeLoadException rtle)
|
||||
{
|
||||
m_log.Error(string.Format("Error loading plugin from {0}:\n{1}", dllName,
|
||||
String.Join("\n", Array.ConvertAll(rtle.LoaderExceptions, e => e.ToString()))),
|
||||
rtle);
|
||||
return null;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
m_log.Error(string.Format("Error loading plugin from {0}", dllName), e);
|
||||
|
||||
Reference in New Issue
Block a user