diff options
Diffstat (limited to 'OpenSim/Region/Application/Application.cs')
-rw-r--r-- | OpenSim/Region/Application/Application.cs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/OpenSim/Region/Application/Application.cs b/OpenSim/Region/Application/Application.cs index ad98aa3..0195bfa 100644 --- a/OpenSim/Region/Application/Application.cs +++ b/OpenSim/Region/Application/Application.cs | |||
@@ -111,9 +111,15 @@ namespace OpenSim | |||
111 | 111 | ||
112 | while (true) | 112 | while (true) |
113 | { | 113 | { |
114 | MainConsole.Instance.Prompt(); | 114 | try |
115 | { | ||
116 | MainConsole.Instance.Prompt(); | ||
117 | } | ||
118 | catch (Exception e) | ||
119 | { | ||
120 | Console.WriteLine("Caught exception from command: {0}", e); | ||
121 | } | ||
115 | } | 122 | } |
116 | |||
117 | } | 123 | } |
118 | } | 124 | } |
119 | 125 | ||