diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueManager.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueManager.cs | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueManager.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueManager.cs index ced4863..949d5b6 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueManager.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueManager.cs | |||
@@ -108,6 +108,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
108 | /// <summary> | 108 | /// <summary> |
109 | /// Structure to hold data for llDetect* commands | 109 | /// Structure to hold data for llDetect* commands |
110 | /// </summary> | 110 | /// </summary> |
111 | [Serializable] | ||
111 | public struct Queue_llDetectParams_Struct | 112 | public struct Queue_llDetectParams_Struct |
112 | { | 113 | { |
113 | // More or less just a placeholder for the actual moving of additional data | 114 | // More or less just a placeholder for the actual moving of additional data |
@@ -238,17 +239,17 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
238 | { | 239 | { |
239 | // DISPLAY ERROR INWORLD | 240 | // DISPLAY ERROR INWORLD |
240 | string text = "Error executing script function \"" + QIS.functionName + "\":\r\n"; | 241 | string text = "Error executing script function \"" + QIS.functionName + "\":\r\n"; |
241 | //if (e.InnerException != null) | 242 | if (e.InnerException != null) |
242 | //{ | 243 | { |
243 | // Send inner exception | 244 | // Send inner exception |
244 | text += e.InnerException.Message.ToString(); | 245 | text += e.InnerException.Message.ToString(); |
245 | //} | 246 | } |
246 | //else | 247 | else |
247 | //{ | 248 | { |
248 | text += "\r\n"; | 249 | text += "\r\n"; |
249 | // Send normal | 250 | // Send normal |
250 | text += e.Message.ToString(); | 251 | text += e.Message.ToString(); |
251 | //} | 252 | } |
252 | try | 253 | try |
253 | { | 254 | { |
254 | if (text.Length > 1500) | 255 | if (text.Length > 1500) |