* Add catch-all error handlers back to scene.

This commit is contained in:
Teravus Ovares
2009-04-11 00:12:57 +00:00
parent 53026affb3
commit 827117f0b1

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