mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 13:55:35 +08:00
Restore "friendly errors" to the XEngine
This commit is contained in:
@@ -514,7 +514,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
||||
try
|
||||
{
|
||||
// DISPLAY ERROR INWORLD
|
||||
string text = "Error compiling script:\n" + e.ToString();
|
||||
string text = "Error compiling script:\n" + e.Message.ToString();
|
||||
if (text.Length > 1000)
|
||||
text = text.Substring(0, 1000);
|
||||
World.SimChat(Utils.StringToBytes(text),
|
||||
|
||||
Reference in New Issue
Block a user