* Minor cleanup

* Added additional error message when a Object/SOG DB save fails so we can trace why.
0.6.0-stable
Adam Frisby 2008-11-01 22:20:54 +00:00
parent e3864de621
commit 84136c70d8
3 changed files with 5 additions and 3 deletions

View File

@ -34,7 +34,6 @@ using System.Text.RegularExpressions;
using OpenMetaverse; using OpenMetaverse;
using log4net; using log4net;
using OpenSim.Framework; using OpenSim.Framework;
using MySql.Data.MySqlClient;
namespace OpenSim.Data.MySQL namespace OpenSim.Data.MySQL
{ {

View File

@ -1,5 +1,8 @@
using System;
namespace OpenSim.Framework namespace OpenSim.Framework
{ {
[Flags]
public enum ThrottleOutPacketType : int public enum ThrottleOutPacketType : int
{ {
Resend = 0, Resend = 0,

View File

@ -1242,8 +1242,8 @@ namespace OpenSim.Region.Environment.Scenes
catch (Exception e) catch (Exception e)
{ {
m_log.ErrorFormat( m_log.ErrorFormat(
"[SCENE]: Storing of {0}, {1} in {2} failed with exception {3}", "[SCENE]: Storing of {0}, {1} in {2} failed with exception {3}\n\t{4}",
Name, UUID, m_scene.RegionInfo.RegionName, e); Name, UUID, m_scene.RegionInfo.RegionName, e, e.StackTrace);
} }
} }