diff options
author | Oren Hurvitz | 2013-10-30 15:10:29 +0200 |
---|---|---|
committer | Oren Hurvitz | 2014-03-24 12:22:32 +0100 |
commit | 6734b94761a4a8b1d03ea97fd6832c51af32bd8c (patch) | |
tree | 2b02f2f72a907db71a14f7eb8ee5547fd7fad2b1 /OpenSim/Server/Base/ServerUtils.cs | |
parent | Removed "hacktastic" code that is no longer needed. (diff) | |
download | opensim-SC_OLD-6734b94761a4a8b1d03ea97fd6832c51af32bd8c.zip opensim-SC_OLD-6734b94761a4a8b1d03ea97fd6832c51af32bd8c.tar.gz opensim-SC_OLD-6734b94761a4a8b1d03ea97fd6832c51af32bd8c.tar.bz2 opensim-SC_OLD-6734b94761a4a8b1d03ea97fd6832c51af32bd8c.tar.xz |
Better error messages
This resolves http://opensimulator.org/mantis/view.php?id=6936
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Server/Base/ServerUtils.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Server/Base/ServerUtils.cs b/OpenSim/Server/Base/ServerUtils.cs index 08ba50d..c92e23c 100644 --- a/OpenSim/Server/Base/ServerUtils.cs +++ b/OpenSim/Server/Base/ServerUtils.cs | |||
@@ -280,11 +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("[SERVER UTILS]: Error loading plugin {0} from {1}. Exception: {2}, {3}", | 283 | m_log.Error(string.Format("[SERVER UTILS]: Error loading plugin {0} from {1}. Exception: {2}", |
284 | interfaceName, | 284 | interfaceName, |
285 | dllName, | 285 | dllName, |
286 | e.InnerException == null ? e.Message : e.InnerException.Message, | 286 | e.InnerException == null ? e.Message : e.InnerException.Message), |
287 | e.StackTrace); | 287 | e); |
288 | } | 288 | } |
289 | m_log.ErrorFormat("[SERVER UTILS]: Error loading plugin {0}: {1} args.Length {2}", dllName, e.Message, args.Length); | 289 | m_log.ErrorFormat("[SERVER UTILS]: Error loading plugin {0}: {1} args.Length {2}", dllName, e.Message, args.Length); |
290 | return null; | 290 | return null; |