Same fix for the DNE
0.6.0-stable
Melanie Thielker 2008-09-29 10:35:07 +00:00
parent 538f51f36d
commit fe06f37e6b
1 changed files with 3 additions and 0 deletions

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'});