diff options
author | Justin Clarke Casey | 2008-11-04 20:23:18 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-11-04 20:23:18 +0000 |
commit | 97d320d7d122a5720770c77f91793ace1229a5ab (patch) | |
tree | de64ab501113d33040ec7b74f9a8d51e5e724c29 /OpenSim/Region/ScriptEngine/DotNetEngine | |
parent | * Improve the previous fix by pushing the exception catching down into OGS1 g... (diff) | |
download | opensim-SC-97d320d7d122a5720770c77f91793ace1229a5ab.zip opensim-SC-97d320d7d122a5720770c77f91793ace1229a5ab.tar.gz opensim-SC-97d320d7d122a5720770c77f91793ace1229a5ab.tar.bz2 opensim-SC-97d320d7d122a5720770c77f91793ace1229a5ab.tar.xz |
* Practise some defensive programming - gracefully terminate the thread if there is a problm in the world map module rather than bringing down the whole server.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueThreadClass.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueThreadClass.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueThreadClass.cs index 3adaf36..b520cde 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueThreadClass.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueThreadClass.cs | |||
@@ -17,7 +17,7 @@ | |||
17 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | 17 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | 18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
19 | * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY | 19 | * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY |
20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | 20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARThY, OR CONSEQUENTIAL DAMAGES |
21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | 21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | 22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
@@ -203,7 +203,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
203 | catch (Exception e) | 203 | catch (Exception e) |
204 | { | 204 | { |
205 | if (lastScriptEngine != null) | 205 | if (lastScriptEngine != null) |
206 | lastScriptEngine.Log.WarnFormat("[{0}]: Exception {1} thrown", ScriptEngineName, e.GetType().ToString()); | 206 | lastScriptEngine.Log.ErrorFormat("[{0}]: Exception {1} thrown", ScriptEngineName, e.GetType().ToString()); |
207 | throw e; | 207 | throw e; |
208 | } | 208 | } |
209 | } | 209 | } |