Same fix for the DNE
This commit is contained in:
Melanie Thielker
2008-09-29 10:35:07 +00:00
parent 538f51f36d
commit fe06f37e6b

View File

@@ -359,6 +359,9 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
string FormatException(Exception e, Dictionary<KeyValuePair<int,int>,
KeyValuePair<int,int>> LineMap)
{
if (e.InnerException == null)
return e.ToString();
string message = "Runtime error:\n" + e.InnerException.StackTrace;
string[] lines = message.Split(new char[] {'\n'});