diff options
author | Justin Clark-Casey (justincc) | 2013-01-15 01:07:20 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-01-25 23:51:09 +0000 |
commit | 795009cae267df20ef5061b0bbeeeba47eb4ce1e (patch) | |
tree | 0c6b37ef3e366c7e7e732049e81dade286ce025f /OpenSim | |
parent | Fix exception reporting in SceneObjectPart so it logs what the exception is r... (diff) | |
download | opensim-SC-795009cae267df20ef5061b0bbeeeba47eb4ce1e.zip opensim-SC-795009cae267df20ef5061b0bbeeeba47eb4ce1e.tar.gz opensim-SC-795009cae267df20ef5061b0bbeeeba47eb4ce1e.tar.bz2 opensim-SC-795009cae267df20ef5061b0bbeeeba47eb4ce1e.tar.xz |
Print full stacktrace from plugin loading failure to help determine what went wrong, rather than a possibly unhelpful simple exception message.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Server/Base/ServerUtils.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Server/Base/ServerUtils.cs b/OpenSim/Server/Base/ServerUtils.cs index 3f208bf..2e6d279 100644 --- a/OpenSim/Server/Base/ServerUtils.cs +++ b/OpenSim/Server/Base/ServerUtils.cs | |||
@@ -280,8 +280,11 @@ namespace OpenSim.Server.Base | |||
280 | { | 280 | { |
281 | if (!(e is System.MissingMethodException)) | 281 | if (!(e is System.MissingMethodException)) |
282 | { | 282 | { |
283 | m_log.ErrorFormat("Error loading plugin {0} from {1}. Exception: {2}", | 283 | m_log.ErrorFormat("Error loading plugin {0} from {1}. Exception: {2}, {3}", |
284 | interfaceName, dllName, e.InnerException == null ? e.Message : e.InnerException.Message); | 284 | interfaceName, |
285 | dllName, | ||
286 | e.InnerException == null ? e.Message : e.InnerException.Message, | ||
287 | e.StackTrace); | ||
285 | } | 288 | } |
286 | return null; | 289 | return null; |
287 | } | 290 | } |