diff options
Diffstat (limited to 'OpenSim/Framework/Console')
-rw-r--r-- | OpenSim/Framework/Console/ConsoleBase.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Framework/Console/ConsoleBase.cs b/OpenSim/Framework/Console/ConsoleBase.cs index 5361e0f..2a996c5 100644 --- a/OpenSim/Framework/Console/ConsoleBase.cs +++ b/OpenSim/Framework/Console/ConsoleBase.cs | |||
@@ -376,13 +376,14 @@ namespace OpenSim.Framework.Console | |||
376 | Array.Resize<string>(ref tempstrarray, tempstrarray.Length - 1); | 376 | Array.Resize<string>(ref tempstrarray, tempstrarray.Length - 1); |
377 | Array.Reverse(tempstrarray); | 377 | Array.Reverse(tempstrarray); |
378 | string[] cmdparams = (string[]) tempstrarray; | 378 | string[] cmdparams = (string[]) tempstrarray; |
379 | |||
379 | try | 380 | try |
380 | { | 381 | { |
381 | RunCmd(cmd, cmdparams); | 382 | RunCmd(cmd, cmdparams); |
382 | } | 383 | } |
383 | catch (Exception e) | 384 | catch (Exception e) |
384 | { | 385 | { |
385 | m_log.Error("[Console]: Command failed with exception " + e.ToString()); | 386 | m_log.ErrorFormat("[Console]: Command [{0}] failed with exception {1}", command, e.ToString()); |
386 | } | 387 | } |
387 | } | 388 | } |
388 | 389 | ||