Make it more obvious when it happens that DLL plugin loading fails. Improve exception output on Windows.

bulletsim
Justin Clark-Casey (justincc) 2011-04-11 21:51:17 +01:00
parent fda393b088
commit d6948b15c4
1 changed files with 2 additions and 1 deletions

View File

@ -223,7 +223,8 @@ namespace OpenSim.Region.Framework
catch (Exception e) catch (Exception e)
{ {
m_log.ErrorFormat( m_log.ErrorFormat(
"[MODULES]: Could not load types for [{0}]. Exception {1}", pluginAssembly.FullName, e); "[MODULES]: Could not load types for plugin DLL {0}. Exception {1} {2}",
pluginAssembly.FullName, e.Message, e.StackTrace);
// justincc: Right now this is fatal to really get the user's attention // justincc: Right now this is fatal to really get the user's attention
throw e; throw e;