Get rid of some of the identical exception catching in Scene.Update().

xassetservice
Justin Clark-Casey (justincc) 2012-02-24 05:12:56 +00:00
parent f67f37074f
commit 84735b644c
1 changed files with 1 additions and 17 deletions

View File

@ -1368,26 +1368,10 @@ namespace OpenSim.Region.Framework.Scenes
{
throw;
}
catch (AccessViolationException e)
{
m_log.ErrorFormat(
"[REGION]: Failed on region {0} with exception {1}{2}",
RegionInfo.RegionName, e.Message, e.StackTrace);
}
//catch (NullReferenceException e)
//{
// m_log.Error("[REGION]: Failed with exception " + e.ToString() + " On Region: " + RegionInfo.RegionName);
//}
catch (InvalidOperationException e)
{
m_log.ErrorFormat(
"[REGION]: Failed on region {0} with exception {1}{2}",
RegionInfo.RegionName, e.Message, e.StackTrace);
}
catch (Exception e)
{
m_log.ErrorFormat(
"[REGION]: Failed on region {0} with exception {1}{2}",
"[SCENE]: Failed on region {0} with exception {1}{2}",
RegionInfo.RegionName, e.Message, e.StackTrace);
}