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