From 8ff1bc5b03adfc11903dfdc244e6fe26f07b4bd2 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Thu, 18 Sep 2008 18:54:42 +0000 Subject: * Make the ode simulation update loop print out the stack if an exception occurs (at least, this is what will happen on linux) --- OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/Physics/OdePlugin') diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs index 5a501ef..245c757 100644 --- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs +++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs @@ -1732,7 +1732,7 @@ namespace OpenSim.Region.Physics.OdePlugin } catch (Exception e) { - m_log.Error("[PHYSICS]: " + e.Message.ToString() + e.TargetSite.ToString()); + m_log.ErrorFormat("[PHYSICS]: {0}, {1}, {2}", e.Message, e.TargetSite, e); ode.dunlock(world); } -- cgit v1.1