diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/ScriptEngineBase')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs | 24 |
1 files changed, 12 insertions, 12 deletions
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 | |||
295 | if (e.InnerException != null) | 295 | if (e.InnerException != null) |
296 | { | 296 | { |
297 | // Send inner exception | 297 | // Send inner exception |
298 | string[] lines=e.InnerException.ToString().Replace("\r", "").Split('\n'); | 298 | string[] lines=e.InnerException.ToString().Replace("\r", "").Split('\n'); |
299 | int line=0; | 299 | int line=0; |
300 | foreach(string t in lines) | 300 | foreach(string t in lines) |
301 | { | 301 | { |
302 | int idx=t.IndexOf("SecondLife.Script."); | 302 | int idx=t.IndexOf("SecondLife.Script."); |
303 | if(idx != -1) | 303 | if(idx != -1) |
304 | { | 304 | { |
305 | int colon=t.IndexOf(":"); | 305 | int colon=t.IndexOf(":"); |
306 | line=Convert.ToInt32(t.Substring(colon+1)); | 306 | line=Convert.ToInt32(t.Substring(colon+1)); |
307 | break; | 307 | break; |
308 | } | 308 | } |
309 | } | 309 | } |
310 | text += e.InnerException.Message.ToString()+" in line "+line.ToString(); | 310 | text += e.InnerException.Message.ToString()+" in line "+line.ToString(); |
311 | } | 311 | } |
312 | else | 312 | else |