diff options
author | Adam Frisby | 2008-02-06 15:30:02 +0000 |
---|---|---|
committer | Adam Frisby | 2008-02-06 15:30:02 +0000 |
commit | f93fdfa5af0a8dd39f471a97a55209451f7ca7a0 (patch) | |
tree | 210ba9757b0759232b4896febc482a9c5675e953 /OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | |
parent | * Added debug message to try track down Mantis#305. (diff) | |
download | opensim-SC_OLD-f93fdfa5af0a8dd39f471a97a55209451f7ca7a0.zip opensim-SC_OLD-f93fdfa5af0a8dd39f471a97a55209451f7ca7a0.tar.gz opensim-SC_OLD-f93fdfa5af0a8dd39f471a97a55209451f7ca7a0.tar.bz2 opensim-SC_OLD-f93fdfa5af0a8dd39f471a97a55209451f7ca7a0.tar.xz |
* Marking off which uses of catch (Exception e) is legit and which are not, for later removal/replacement.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs index c39d376..b407f8d 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | |||
@@ -105,7 +105,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
105 | // Fire the first start-event | 105 | // Fire the first start-event |
106 | m_scriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "state_entry", EventQueueManager.llDetectNull, new object[] { }); | 106 | m_scriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "state_entry", EventQueueManager.llDetectNull, new object[] { }); |
107 | } | 107 | } |
108 | catch (Exception e) | 108 | catch (Exception e) // LEGIT: User Scripting |
109 | { | 109 | { |
110 | //m_scriptEngine.Log.Error("[ScriptEngine]: Error compiling script: " + e.ToString()); | 110 | //m_scriptEngine.Log.Error("[ScriptEngine]: Error compiling script: " + e.ToString()); |
111 | try | 111 | try |
@@ -117,7 +117,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
117 | World.SimChat(Helpers.StringToField(text), ChatTypeEnum.Say, 0, m_host.AbsolutePosition, | 117 | World.SimChat(Helpers.StringToField(text), ChatTypeEnum.Say, 0, m_host.AbsolutePosition, |
118 | m_host.Name, m_host.UUID); | 118 | m_host.Name, m_host.UUID); |
119 | } | 119 | } |
120 | catch (Exception e2) | 120 | catch (Exception e2) // LEGIT: User Scripting |
121 | { | 121 | { |
122 | m_scriptEngine.Log.Error("[" + m_scriptEngine.ScriptEngineName + "]: Error displaying error in-world: " + e2.ToString()); | 122 | m_scriptEngine.Log.Error("[" + m_scriptEngine.ScriptEngineName + "]: Error displaying error in-world: " + e2.ToString()); |
123 | m_scriptEngine.Log.Error("[" + m_scriptEngine.ScriptEngineName + "]: " + | 123 | m_scriptEngine.Log.Error("[" + m_scriptEngine.ScriptEngineName + "]: " + |
@@ -154,7 +154,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
154 | // Tell AppDomain that we have stopped script | 154 | // Tell AppDomain that we have stopped script |
155 | m_scriptEngine.m_AppDomainManager.StopScript(ad); | 155 | m_scriptEngine.m_AppDomainManager.StopScript(ad); |
156 | } | 156 | } |
157 | catch (Exception e) | 157 | catch (Exception e) // LEGIT: User Scripting |
158 | { | 158 | { |
159 | m_scriptEngine.Log.Error("[" + m_scriptEngine.ScriptEngineName + "]: Exception stopping script localID: " + localID + " LLUID: " + itemID.ToString() + | 159 | m_scriptEngine.Log.Error("[" + m_scriptEngine.ScriptEngineName + "]: Exception stopping script localID: " + localID + " LLUID: " + itemID.ToString() + |
160 | ": " + e.ToString()); | 160 | ": " + e.ToString()); |