aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-02-06 19:12:04 +0000
committerJustin Clarke Casey2009-02-06 19:12:04 +0000
commit84659396b8e1681f3dbf3e8272c124a0858cef44 (patch)
tree760187078520db13331b2aa53b01e416e6f60cb7 /OpenSim/Region
parent* Implement help <command> from the region console (diff)
downloadopensim-SC-84659396b8e1681f3dbf3e8272c124a0858cef44.zip
opensim-SC-84659396b8e1681f3dbf3e8272c124a0858cef44.tar.gz
opensim-SC-84659396b8e1681f3dbf3e8272c124a0858cef44.tar.bz2
opensim-SC-84659396b8e1681f3dbf3e8272c124a0858cef44.tar.xz
* Make the module loader display which module failed if there was a loading problem
* Such failures are now fatal to grab the user's attention. * However, they could be made non-fatal (just with a loud error warning) if this proves too inconvenient
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Framework/ModuleLoader.cs8
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/ModuleLoader.cs b/OpenSim/Region/Framework/ModuleLoader.cs
index d393919..29b6bf4 100644
--- a/OpenSim/Region/Framework/ModuleLoader.cs
+++ b/OpenSim/Region/Framework/ModuleLoader.cs
@@ -218,9 +218,13 @@ namespace OpenSim.Region.Framework
218 } 218 }
219 } 219 }
220 } 220 }
221 catch (ReflectionTypeLoadException) 221 catch (Exception e)
222 { 222 {
223 m_log.InfoFormat("[MODULES]: Could not load types for [{0}].", pluginAssembly.FullName); 223 m_log.ErrorFormat(
224 "[MODULES]: Could not load types for [{0}]. Exception {1}", pluginAssembly.FullName, e);
225
226 // justincc: Right now this is fatal to really get the user's attention
227 throw e;
224 } 228 }
225 } 229 }
226 230