aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Base
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-01-15 01:07:20 +0000
committerJustin Clark-Casey (justincc)2013-01-15 01:07:20 +0000
commit1c240cd55574fe76af25b3824ab7f74b76c25a26 (patch)
treeb403c3807b33e7a28d01f7efbc1e2d50dc7e5fc2 /OpenSim/Server/Base
parentMerge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff)
downloadopensim-SC_OLD-1c240cd55574fe76af25b3824ab7f74b76c25a26.zip
opensim-SC_OLD-1c240cd55574fe76af25b3824ab7f74b76c25a26.tar.gz
opensim-SC_OLD-1c240cd55574fe76af25b3824ab7f74b76c25a26.tar.bz2
opensim-SC_OLD-1c240cd55574fe76af25b3824ab7f74b76c25a26.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/Server/Base')
-rw-r--r--OpenSim/Server/Base/ServerUtils.cs7
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 }