diff options
author | Melanie Thielker | 2008-12-02 01:50:15 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-12-02 01:50:15 +0000 |
commit | bf4ccf38582f21a718251f17579003525a6fd3c7 (patch) | |
tree | f9362c71a496f660cd054d63c37bbbbbbbb35e23 /OpenSim/Data/MySQL/MySQLRegionData.cs | |
parent | Fix Mantis#2527. Permissions returned false for editing non-root SOPs. Now, (diff) | |
download | opensim-SC-bf4ccf38582f21a718251f17579003525a6fd3c7.zip opensim-SC-bf4ccf38582f21a718251f17579003525a6fd3c7.tar.gz opensim-SC-bf4ccf38582f21a718251f17579003525a6fd3c7.tar.bz2 opensim-SC-bf4ccf38582f21a718251f17579003525a6fd3c7.tar.xz |
Catch all possible exceptions in the mysql module. It throws non-mysql
exceptions as well.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLRegionData.cs | 4 |
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 | ||