* 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

@ -111,9 +111,15 @@ namespace OpenSim
while (true)
{
MainConsole.Instance.Prompt();
try
{
MainConsole.Instance.Prompt();
}
catch (Exception e)
{
Console.WriteLine("Caught exception from command: {0}", e);
}
}
}
}