From 515bf6d7dcce10d5e32db489c0d6247bd3b2a615 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Fri, 10 Apr 2009 08:30:21 +0000 Subject: * Patch from RemedyTomm Mantis 3440 * Revamps the server side texture pipeline * Textures should load faster, get clogged less, and be less blurry * Minor tweak to ensure the outgoing texture throttle stays private. * Fixes mantis 3440 --- OpenSim/Region/UserStatistics/WebStatsModule.cs | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/UserStatistics') diff --git a/OpenSim/Region/UserStatistics/WebStatsModule.cs b/OpenSim/Region/UserStatistics/WebStatsModule.cs index 3b83cc2..cdbf1db 100644 --- a/OpenSim/Region/UserStatistics/WebStatsModule.cs +++ b/OpenSim/Region/UserStatistics/WebStatsModule.cs @@ -676,7 +676,20 @@ namespace OpenSim.Region.UserStatistics { m_log.Debug("INSERT"); updatecmd.CommandText = SQL_STATS_TABLE_INSERT; - updatecmd.ExecuteNonQuery(); + try + { + updatecmd.ExecuteNonQuery(); + } + catch + (SqliteExecutionException) + { + m_log.Warn("[WEBSTATS]: failed to write stats to storage Execution Exception"); + } + catch (SqliteSyntaxException) + { + m_log.Warn("[WEBSTATS]: failed to write stats to storage SQL Syntax Exception"); + } + } } -- cgit v1.1