* Adding some recognizable and search-able test to some WriteLine(e.ToString()) messages so that when they occur, we can figure out what threw them.

0.6.2-post-fixes
Teravus Ovares 2009-01-02 14:24:49 +00:00
parent b175e8f6cd
commit b1a677630f
3 changed files with 6 additions and 6 deletions

View File

@ -530,7 +530,7 @@ namespace OpenSim.Region.Environment.Scenes
}
catch (Exception e)
{
Console.WriteLine(e.Message);
Console.WriteLine("[SCENEOBJECTPART]: GROUP POSITION. " + e.Message);
}
}
@ -615,7 +615,7 @@ namespace OpenSim.Region.Environment.Scenes
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
Console.WriteLine("[SCENEOBJECTPART]: ROTATIONOFFSET" + ex.Message);
}
}

View File

@ -411,7 +411,7 @@ namespace OpenSim.Region.Environment.Scenes
}
catch (Exception e)
{
Console.WriteLine(e.Message);
Console.WriteLine("[SCENEPRESENCE]: ABSOLUTE POSITION " + e.Message);
}
}
@ -451,7 +451,7 @@ namespace OpenSim.Region.Environment.Scenes
}
catch (Exception e)
{
Console.WriteLine(e.Message);
Console.WriteLine("[SCENEPRESENCE]: VELOCITY " + e.Message);
}
}
@ -1374,7 +1374,7 @@ namespace OpenSim.Region.Environment.Scenes
catch (Exception ex)
{
//Why did I get this error?
System.Diagnostics.Debug.WriteLine(ex.ToString());
Console.WriteLine("[SCENEPRESENCE]: DoMoveToPosition" + ex.ToString());
}
}

View File

@ -7665,7 +7665,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
}
catch(Exception e)
{
Console.WriteLine(e.ToString());
Console.WriteLine("[LSL_API]: llRequestSimulatorData" + e.ToString());
return UUID.Zero.ToString();
}
}