* Add catch-all error handlers back to scene.

0.6.5-rc1
Teravus Ovares 2009-04-11 00:12:57 +00:00
parent 53026affb3
commit 827117f0b1
1 changed files with 8 additions and 8 deletions

View File

@ -927,10 +927,10 @@ namespace OpenSim.Region.Framework.Scenes
{
throw;
}
//catch (AccessViolationException e)
//{
// m_log.Error("[Scene]: Failed with exception " + e.ToString() + " On Region: " + RegionInfo.RegionName);
//}
catch (AccessViolationException e)
{
m_log.Error("[Scene]: Failed with exception " + e.ToString() + " On Region: " + RegionInfo.RegionName);
}
//catch (NullReferenceException e)
//{
// m_log.Error("[Scene]: Failed with exception " + e.ToString() + " On Region: " + RegionInfo.RegionName);
@ -939,10 +939,10 @@ namespace OpenSim.Region.Framework.Scenes
{
m_log.Error("[Scene]: Failed with exception " + e.ToString() + " On Region: " + RegionInfo.RegionName);
}
//catch (Exception e)
//{
// m_log.Error("[Scene]: Failed with exception " + e.ToString() + " On Region: " + RegionInfo.RegionName);
//}
catch (Exception e)
{
m_log.Error("[Scene]: Failed with exception " + e.ToString() + " On Region: " + RegionInfo.RegionName);
}
finally
{
//updateLock.ReleaseMutex();