diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueManager.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueManager.cs index ced4863074..949d5b6e07 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 /// /// Structure to hold data for llDetect* commands /// + [Serializable] public struct Queue_llDetectParams_Struct { // More or less just a placeholder for the actual moving of additional data @@ -238,17 +239,17 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase { // DISPLAY ERROR INWORLD string text = "Error executing script function \"" + QIS.functionName + "\":\r\n"; - //if (e.InnerException != null) - //{ + if (e.InnerException != null) + { // Send inner exception text += e.InnerException.Message.ToString(); - //} - //else - //{ + } + else + { text += "\r\n"; // Send normal text += e.Message.ToString(); - //} + } try { if (text.Length > 1500)