From 84136c70d8a8e3278d1ff3949971e993f6c3f1fb Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Sat, 1 Nov 2008 22:20:54 +0000 Subject: * Minor cleanup * Added additional error message when a Object/SOG DB save fails so we can trace why. --- OpenSim/Data/MySQL/MySQLUserData.cs | 1 - OpenSim/Framework/ThrottleOutPacketType.cs | 3 +++ OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Data/MySQL/MySQLUserData.cs b/OpenSim/Data/MySQL/MySQLUserData.cs index c3aade0..6baf4b6 100644 --- a/OpenSim/Data/MySQL/MySQLUserData.cs +++ b/OpenSim/Data/MySQL/MySQLUserData.cs @@ -34,7 +34,6 @@ using System.Text.RegularExpressions; using OpenMetaverse; using log4net; using OpenSim.Framework; -using MySql.Data.MySqlClient; namespace OpenSim.Data.MySQL { diff --git a/OpenSim/Framework/ThrottleOutPacketType.cs b/OpenSim/Framework/ThrottleOutPacketType.cs index b236362..cf38df7 100644 --- a/OpenSim/Framework/ThrottleOutPacketType.cs +++ b/OpenSim/Framework/ThrottleOutPacketType.cs @@ -1,5 +1,8 @@ +using System; + namespace OpenSim.Framework { + [Flags] public enum ThrottleOutPacketType : int { Resend = 0, diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index 6579860..bb0bf9a 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs @@ -1242,8 +1242,8 @@ namespace OpenSim.Region.Environment.Scenes catch (Exception e) { m_log.ErrorFormat( - "[SCENE]: Storing of {0}, {1} in {2} failed with exception {3}", - Name, UUID, m_scene.RegionInfo.RegionName, e); + "[SCENE]: Storing of {0}, {1} in {2} failed with exception {3}\n\t{4}", + Name, UUID, m_scene.RegionInfo.RegionName, e, e.StackTrace); } } -- cgit v1.1