aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-11-23 04:06:48 +0000
committerJustin Clark-Casey (justincc)2012-11-23 04:06:48 +0000
commit1f336579c87b6b9e3152175c8b6724bff2777b65 (patch)
tree461e8e6876568f79bc8951768f54c60e9af0fc66 /OpenSim/Region/Framework/Scenes
parentAdd AllowRegionRestartFromClient setting to [EstateManagement] section of Ope... (diff)
downloadopensim-SC_OLD-1f336579c87b6b9e3152175c8b6724bff2777b65.zip
opensim-SC_OLD-1f336579c87b6b9e3152175c8b6724bff2777b65.tar.gz
opensim-SC_OLD-1f336579c87b6b9e3152175c8b6724bff2777b65.tar.bz2
opensim-SC_OLD-1f336579c87b6b9e3152175c8b6724bff2777b65.tar.xz
minor: Make note in log if scene was restarted due to an unrecoverable physics error
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 8ef22bd..1ad5edd 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -740,7 +740,12 @@ namespace OpenSim.Region.Framework.Scenes
740 // 740 //
741 // Out of memory 741 // Out of memory
742 // Operating system has killed the plugin 742 // Operating system has killed the plugin
743 m_sceneGraph.UnRecoverableError += RestartNow; 743 m_sceneGraph.UnRecoverableError
744 += () =>
745 {
746 m_log.ErrorFormat("[SCENE]: Restarting region {0} due to unrecoverable physics crash", Name);
747 RestartNow();
748 };
744 749
745 RegisterDefaultSceneEvents(); 750 RegisterDefaultSceneEvents();
746 751