minor: Make note in log if scene was restarted due to an unrecoverable physics error

0.7.4-extended
Justin Clark-Casey (justincc) 2012-11-23 04:06:48 +00:00
parent 207233335e
commit 6d0f66ae87
1 changed files with 6 additions and 1 deletions

View File

@ -715,7 +715,12 @@ namespace OpenSim.Region.Framework.Scenes
// //
// Out of memory // Out of memory
// Operating system has killed the plugin // Operating system has killed the plugin
m_sceneGraph.UnRecoverableError += RestartNow; m_sceneGraph.UnRecoverableError
+= () =>
{
m_log.ErrorFormat("[SCENE]: Restarting region {0} due to unrecoverable physics crash", Name);
RestartNow();
};
RegisterDefaultSceneEvents(); RegisterDefaultSceneEvents();