When a plugin fails to load because a DLL is missing, log which DLL it is
parent
eabfc9ca15
commit
39323055bd
|
@ -128,6 +128,13 @@ namespace OpenSim.Server.Base
|
||||||
|
|
||||||
return null;
|
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)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
m_log.Error(string.Format("Error loading plugin from {0}", dllName), e);
|
m_log.Error(string.Format("Error loading plugin from {0}", dllName), e);
|
||||||
|
|
Loading…
Reference in New Issue