mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
* Stop OpenSim crashing if an exception from a command makes it right up to the top of the stack
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user