mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 22:05:36 +08:00
Catch all possible exceptions in the mysql module. It throws non-mysql
exceptions as well.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user