From 0ea48cf7860a83e30e4401b4bb1ff4b4eb3ae3a7 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Tue, 6 May 2008 22:41:38 +0000 Subject: De-tabify source. --- .../ScriptEngineBase/EventQueueThreadClass.cs | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'OpenSim/Region/ScriptEngine/Common/ScriptEngineBase') diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs index 2a6f775..ed11337 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs @@ -295,18 +295,18 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase if (e.InnerException != null) { // Send inner exception - string[] lines=e.InnerException.ToString().Replace("\r", "").Split('\n'); - int line=0; - foreach(string t in lines) - { - int idx=t.IndexOf("SecondLife.Script."); - if(idx != -1) - { - int colon=t.IndexOf(":"); - line=Convert.ToInt32(t.Substring(colon+1)); - break; - } - } + string[] lines=e.InnerException.ToString().Replace("\r", "").Split('\n'); + int line=0; + foreach(string t in lines) + { + int idx=t.IndexOf("SecondLife.Script."); + if(idx != -1) + { + int colon=t.IndexOf(":"); + line=Convert.ToInt32(t.Substring(colon+1)); + break; + } + } text += e.InnerException.Message.ToString()+" in line "+line.ToString(); } else -- cgit v1.1