aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Console
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Console')
-rw-r--r--OpenSim/Framework/Console/LogBase.cs11
1 files changed, 8 insertions, 3 deletions
diff --git a/OpenSim/Framework/Console/LogBase.cs b/OpenSim/Framework/Console/LogBase.cs
index e5025e0..67440f6 100644
--- a/OpenSim/Framework/Console/LogBase.cs
+++ b/OpenSim/Framework/Console/LogBase.cs
@@ -302,9 +302,14 @@ namespace OpenSim.Framework.Console
302 302
303 public string ReadLine() 303 public string ReadLine()
304 { 304 {
305 string TempStr = System.Console.ReadLine(); 305 try {
306 Log.WriteLine(TempStr); 306 string TempStr = System.Console.ReadLine();
307 return TempStr; 307 Log.WriteLine(TempStr);
308 return TempStr;
309 } catch (Exception e) {
310 MainLog.Instance.Error("Console", "System.Console.ReadLine exception " + e.ToString());
311 return "";
312 }
308 } 313 }
309 314
310 public int Read() 315 public int Read()