mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
Catch any exceptions exiting the top of the robust console, as we already do for the main simulator.
This prevents issues such as transient mono console problems from crashing the server.
This commit is contained in:
@@ -266,7 +266,14 @@ namespace OpenSim.Server.Base
|
||||
{
|
||||
while (m_Running)
|
||||
{
|
||||
MainConsole.Instance.Prompt();
|
||||
try
|
||||
{
|
||||
MainConsole.Instance.Prompt();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
m_log.ErrorFormat("Command error: {0}", e);
|
||||
}
|
||||
}
|
||||
|
||||
if (m_pidFile != String.Empty)
|
||||
|
||||
Reference in New Issue
Block a user