* Stop a problem in the DotNetEngine event queue thread from immediately bringing down the whole sim, though the sim will need a reboot

0.6.0-stable
Justin Clarke Casey 2008-11-04 20:43:11 +00:00
parent 97d320d7d1
commit 03c402842a
1 changed files with 8 additions and 0 deletions

View File

@ -211,6 +211,14 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
catch (ThreadAbortException) catch (ThreadAbortException)
{ {
} }
catch (Exception e)
{
// TODO: Let users in the sim and those entering it and possibly an external watchdog know what has happened
if (lastScriptEngine != null)
lastScriptEngine.Log.ErrorFormat(
"[{0}]: Event queue thread terminating with exception. PLEASE REBOOT YOUR SIM - SCRIPT EVENTS WILL NOT WORK UNTIL YOU DO. Exception is {1}",
ScriptEngineName, e);
}
} }
public void DoProcessQueue() public void DoProcessQueue()