diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Server/Base/ServerUtils.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Server/Base/ServerUtils.cs b/OpenSim/Server/Base/ServerUtils.cs index 6743a2e..8effdd2 100644 --- a/OpenSim/Server/Base/ServerUtils.cs +++ b/OpenSim/Server/Base/ServerUtils.cs | |||
@@ -128,6 +128,13 @@ namespace OpenSim.Server.Base | |||
128 | 128 | ||
129 | return null; | 129 | return null; |
130 | } | 130 | } |
131 | catch (ReflectionTypeLoadException rtle) | ||
132 | { | ||
133 | m_log.Error(string.Format("Error loading plugin from {0}:\n{1}", dllName, | ||
134 | String.Join("\n", Array.ConvertAll(rtle.LoaderExceptions, e => e.ToString()))), | ||
135 | rtle); | ||
136 | return null; | ||
137 | } | ||
131 | catch (Exception e) | 138 | catch (Exception e) |
132 | { | 139 | { |
133 | m_log.Error(string.Format("Error loading plugin from {0}", dllName), e); | 140 | m_log.Error(string.Format("Error loading plugin from {0}", dllName), e); |