aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Framework/Console/LogBase.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Framework/Console/LogBase.cs b/OpenSim/Framework/Console/LogBase.cs
index 119c2cd..9e2f379 100644
--- a/OpenSim/Framework/Console/LogBase.cs
+++ b/OpenSim/Framework/Console/LogBase.cs
@@ -438,7 +438,11 @@ namespace OpenSim.Framework.Console
438 Array.Resize<string>(ref tempstrarray, tempstrarray.Length - 1); 438 Array.Resize<string>(ref tempstrarray, tempstrarray.Length - 1);
439 Array.Reverse(tempstrarray); 439 Array.Reverse(tempstrarray);
440 string[] cmdparams = (string[])tempstrarray; 440 string[] cmdparams = (string[])tempstrarray;
441 RunCmd(cmd, cmdparams); 441 try {
442 RunCmd(cmd, cmdparams);
443 } catch (Exception e) {
444 MainLog.Instance.Error("Console", "Command failed with exception " + e.ToString());
445 }
442 } 446 }
443 447
444 public string LineInfo 448 public string LineInfo