aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie Thielker2008-12-02 01:50:15 +0000
committerMelanie Thielker2008-12-02 01:50:15 +0000
commitbf4ccf38582f21a718251f17579003525a6fd3c7 (patch)
treef9362c71a496f660cd054d63c37bbbbbbbb35e23 /OpenSim
parentFix Mantis#2527. Permissions returned false for editing non-root SOPs. Now, (diff)
downloadopensim-SC_OLD-bf4ccf38582f21a718251f17579003525a6fd3c7.zip
opensim-SC_OLD-bf4ccf38582f21a718251f17579003525a6fd3c7.tar.gz
opensim-SC_OLD-bf4ccf38582f21a718251f17579003525a6fd3c7.tar.bz2
opensim-SC_OLD-bf4ccf38582f21a718251f17579003525a6fd3c7.tar.xz
Catch all possible exceptions in the mysql module. It throws non-mysql
exceptions as well.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Data/MySQL/MySQLRegionData.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/MySQLRegionData.cs b/OpenSim/Data/MySQL/MySQLRegionData.cs
index 7efc375..53b561d 100644
--- a/OpenSim/Data/MySQL/MySQLRegionData.cs
+++ b/OpenSim/Data/MySQL/MySQLRegionData.cs
@@ -87,7 +87,7 @@ namespace OpenSim.Data.MySQL
87 { 87 {
88 r = c.ExecuteReader(); 88 r = c.ExecuteReader();
89 } 89 }
90 catch (MySqlException) 90 catch (Exception)
91 { 91 {
92 System.Threading.Thread.Sleep(500); 92 System.Threading.Thread.Sleep(500);
93 93
@@ -120,7 +120,7 @@ namespace OpenSim.Data.MySQL
120 { 120 {
121 c.ExecuteNonQuery(); 121 c.ExecuteNonQuery();
122 } 122 }
123 catch (MySqlException) 123 catch (Exception)
124 { 124 {
125 System.Threading.Thread.Sleep(500); 125 System.Threading.Thread.Sleep(500);
126 126