mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
* 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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user