diff options
author | Justin Clark-Casey (justincc) | 2011-04-11 21:51:17 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-04-11 21:51:17 +0100 |
commit | d6948b15c47fd067be6d7cef31caf8e49e9c9afa (patch) | |
tree | 411881e890910fca9ff9f197be9e0e6cb6cdd213 /OpenSim/Region/Framework | |
parent | Add information comment to top of OpenSimDefaults.ini and make file consistent (diff) | |
download | opensim-SC-d6948b15c47fd067be6d7cef31caf8e49e9c9afa.zip opensim-SC-d6948b15c47fd067be6d7cef31caf8e49e9c9afa.tar.gz opensim-SC-d6948b15c47fd067be6d7cef31caf8e49e9c9afa.tar.bz2 opensim-SC-d6948b15c47fd067be6d7cef31caf8e49e9c9afa.tar.xz |
Make it more obvious when it happens that DLL plugin loading fails. Improve exception output on Windows.
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/ModuleLoader.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/ModuleLoader.cs b/OpenSim/Region/Framework/ModuleLoader.cs index 23be9c2..14ecd44 100644 --- a/OpenSim/Region/Framework/ModuleLoader.cs +++ b/OpenSim/Region/Framework/ModuleLoader.cs | |||
@@ -223,7 +223,8 @@ namespace OpenSim.Region.Framework | |||
223 | catch (Exception e) | 223 | catch (Exception e) |
224 | { | 224 | { |
225 | m_log.ErrorFormat( | 225 | m_log.ErrorFormat( |
226 | "[MODULES]: Could not load types for [{0}]. Exception {1}", pluginAssembly.FullName, e); | 226 | "[MODULES]: Could not load types for plugin DLL {0}. Exception {1} {2}", |
227 | pluginAssembly.FullName, e.Message, e.StackTrace); | ||
227 | 228 | ||
228 | // justincc: Right now this is fatal to really get the user's attention | 229 | // justincc: Right now this is fatal to really get the user's attention |
229 | throw e; | 230 | throw e; |