* Stop OpenSim crashing if an exception from a command makes it right up to the top of the stack

0.6.3-post-fixes
Justin Clarke Casey 2009-02-10 18:50:25 +00:00
parent 25bc7a44cd
commit 0cd5a353cf
1 changed files with 8 additions and 2 deletions

View File

@ -110,10 +110,16 @@ namespace OpenSim
m_sim.Startup();
while (true)
{
try
{
MainConsole.Instance.Prompt();
}
catch (Exception e)
{
Console.WriteLine("Caught exception from command: {0}", e);
}
}
}
}