* 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 inconvenient0.6.3-post-fixes
parent
00a3cbd6fa
commit
84659396b8
|
@ -218,9 +218,13 @@ namespace OpenSim.Region.Framework
|
|||
}
|
||||
}
|
||||
}
|
||||
catch (ReflectionTypeLoadException)
|
||||
catch (Exception e)
|
||||
{
|
||||
m_log.InfoFormat("[MODULES]: Could not load types for [{0}].", pluginAssembly.FullName);
|
||||
m_log.ErrorFormat(
|
||||
"[MODULES]: Could not load types for [{0}]. Exception {1}", pluginAssembly.FullName, e);
|
||||
|
||||
// justincc: Right now this is fatal to really get the user's attention
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue