From bf4ccf38582f21a718251f17579003525a6fd3c7 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Tue, 2 Dec 2008 01:50:15 +0000 Subject: Catch all possible exceptions in the mysql module. It throws non-mysql exceptions as well. --- OpenSim/Data/MySQL/MySQLRegionData.cs | 4 ++-- 1 file 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 { r = c.ExecuteReader(); } - catch (MySqlException) + catch (Exception) { System.Threading.Thread.Sleep(500); @@ -120,7 +120,7 @@ namespace OpenSim.Data.MySQL { c.ExecuteNonQuery(); } - catch (MySqlException) + catch (Exception) { System.Threading.Thread.Sleep(500); -- cgit v1.1