diff options
Diffstat (limited to 'OpenSim/Region/UserStatistics')
-rw-r--r-- | OpenSim/Region/UserStatistics/WebStatsModule.cs | 15 |
1 files changed, 14 insertions, 1 deletions
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 | |||
676 | { | 676 | { |
677 | m_log.Debug("INSERT"); | 677 | m_log.Debug("INSERT"); |
678 | updatecmd.CommandText = SQL_STATS_TABLE_INSERT; | 678 | updatecmd.CommandText = SQL_STATS_TABLE_INSERT; |
679 | updatecmd.ExecuteNonQuery(); | 679 | try |
680 | { | ||
681 | updatecmd.ExecuteNonQuery(); | ||
682 | } | ||
683 | catch | ||
684 | (SqliteExecutionException) | ||
685 | { | ||
686 | m_log.Warn("[WEBSTATS]: failed to write stats to storage Execution Exception"); | ||
687 | } | ||
688 | catch (SqliteSyntaxException) | ||
689 | { | ||
690 | m_log.Warn("[WEBSTATS]: failed to write stats to storage SQL Syntax Exception"); | ||
691 | } | ||
692 | |||
680 | } | 693 | } |
681 | } | 694 | } |
682 | 695 | ||