mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
Print full stacktrace from plugin loading failure to help determine what went wrong, rather than a possibly unhelpful simple exception message.
This commit is contained in:
@@ -280,8 +280,11 @@ namespace OpenSim.Server.Base
|
||||
{
|
||||
if (!(e is System.MissingMethodException))
|
||||
{
|
||||
m_log.ErrorFormat("Error loading plugin {0} from {1}. Exception: {2}",
|
||||
interfaceName, dllName, e.InnerException == null ? e.Message : e.InnerException.Message);
|
||||
m_log.ErrorFormat("Error loading plugin {0} from {1}. Exception: {2}, {3}",
|
||||
interfaceName,
|
||||
dllName,
|
||||
e.InnerException == null ? e.Message : e.InnerException.Message,
|
||||
e.StackTrace);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user