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

exceptions as well.
0.6.1-post-fixes
Melanie Thielker 2008-12-02 01:50:15 +00:00
parent 4480d5527b
commit bf4ccf3858
1 changed files with 2 additions and 2 deletions

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