Catch all possible exceptions in the mysql module. It throws non-mysql

exceptions as well.
This commit is contained in:
Melanie Thielker
2008-12-02 01:50:15 +00:00
parent 4480d5527b
commit bf4ccf3858

View File

@@ -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);