diff options
author | Charles Krinke | 2008-05-02 23:23:39 +0000 |
---|---|---|
committer | Charles Krinke | 2008-05-02 23:23:39 +0000 |
commit | 18362b25bf343749a1f10b09925e3c5b903ef865 (patch) | |
tree | 1f6fd22e939193c20fc593c8a435eeab080d2e86 /OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs | |
parent | fixed up a bunch of the nhibernate user driver. Friends are not (diff) | |
download | opensim-SC-18362b25bf343749a1f10b09925e3c5b903ef865.zip opensim-SC-18362b25bf343749a1f10b09925e3c5b903ef865.tar.gz opensim-SC-18362b25bf343749a1f10b09925e3c5b903ef865.tar.bz2 opensim-SC-18362b25bf343749a1f10b09925e3c5b903ef865.tar.xz |
Thank you kindly, Melanie for a patch to solve
llParticleSystem and osDynamicTexture issues.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs index 30b3e8f..1b1a5fa 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs | |||
@@ -295,7 +295,19 @@ 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 | text += e.InnerException.Message.ToString(); | 298 | string[] lines=e.InnerException.ToString().Replace("\r", "").Split('\n'); |
299 | int line=0; | ||
300 | foreach(string t in lines) | ||
301 | { | ||
302 | int idx=t.IndexOf("SecondLife.Script."); | ||
303 | if(idx != -1) | ||
304 | { | ||
305 | int colon=t.IndexOf(":"); | ||
306 | line=Convert.ToInt32(t.Substring(colon+1)); | ||
307 | break; | ||
308 | } | ||
309 | } | ||
310 | text += e.InnerException.Message.ToString()+" in line "+line.ToString(); | ||
299 | } | 311 | } |
300 | else | 312 | else |
301 | { | 313 | { |