* Potential fix to the 'can't run a script anymore bug'

ThreadPoolClientBranch
Teravus Ovares 2008-01-19 02:58:19 +00:00
parent d23222cbc6
commit 8fdeab57b1
1 changed files with 7 additions and 6 deletions

View File

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