* Stop OpenSim crashing if an exception from a command makes it right up to the top of the stack
parent
25bc7a44cd
commit
0cd5a353cf
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue