aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorTeravus Ovares2009-01-02 14:24:49 +0000
committerTeravus Ovares2009-01-02 14:24:49 +0000
commitb1a677630fef0a1104013d4105e58b9bcb17ce2d (patch)
treeb108cb9eebc2593f7b233ebc0bfd91e104d90912
parentFixes Mantis #2945 (diff)
downloadopensim-SC-b1a677630fef0a1104013d4105e58b9bcb17ce2d.zip
opensim-SC-b1a677630fef0a1104013d4105e58b9bcb17ce2d.tar.gz
opensim-SC-b1a677630fef0a1104013d4105e58b9bcb17ce2d.tar.bz2
opensim-SC-b1a677630fef0a1104013d4105e58b9bcb17ce2d.tar.xz
* 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.
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs4
-rw-r--r--OpenSim/Region/Environment/Scenes/ScenePresence.cs6
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
3 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
index 8b45484..e8f7011 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
@@ -530,7 +530,7 @@ namespace OpenSim.Region.Environment.Scenes
530 } 530 }
531 catch (Exception e) 531 catch (Exception e)
532 { 532 {
533 Console.WriteLine(e.Message); 533 Console.WriteLine("[SCENEOBJECTPART]: GROUP POSITION. " + e.Message);
534 } 534 }
535 } 535 }
536 536
@@ -615,7 +615,7 @@ namespace OpenSim.Region.Environment.Scenes
615 } 615 }
616 catch (Exception ex) 616 catch (Exception ex)
617 { 617 {
618 Console.WriteLine(ex.Message); 618 Console.WriteLine("[SCENEOBJECTPART]: ROTATIONOFFSET" + ex.Message);
619 } 619 }
620 } 620 }
621 621
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
index 166e051..205d5cc 100644
--- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
@@ -411,7 +411,7 @@ namespace OpenSim.Region.Environment.Scenes
411 } 411 }
412 catch (Exception e) 412 catch (Exception e)
413 { 413 {
414 Console.WriteLine(e.Message); 414 Console.WriteLine("[SCENEPRESENCE]: ABSOLUTE POSITION " + e.Message);
415 } 415 }
416 } 416 }
417 417
@@ -451,7 +451,7 @@ namespace OpenSim.Region.Environment.Scenes
451 } 451 }
452 catch (Exception e) 452 catch (Exception e)
453 { 453 {
454 Console.WriteLine(e.Message); 454 Console.WriteLine("[SCENEPRESENCE]: VELOCITY " + e.Message);
455 } 455 }
456 } 456 }
457 457
@@ -1374,7 +1374,7 @@ namespace OpenSim.Region.Environment.Scenes
1374 catch (Exception ex) 1374 catch (Exception ex)
1375 { 1375 {
1376 //Why did I get this error? 1376 //Why did I get this error?
1377 System.Diagnostics.Debug.WriteLine(ex.ToString()); 1377 Console.WriteLine("[SCENEPRESENCE]: DoMoveToPosition" + ex.ToString());
1378 } 1378 }
1379 } 1379 }
1380 1380
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index bb77c1e..1afa08d 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -7665,7 +7665,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
7665 } 7665 }
7666 catch(Exception e) 7666 catch(Exception e)
7667 { 7667 {
7668 Console.WriteLine(e.ToString()); 7668 Console.WriteLine("[LSL_API]: llRequestSimulatorData" + e.ToString());
7669 return UUID.Zero.ToString(); 7669 return UUID.Zero.ToString();
7670 } 7670 }
7671 } 7671 }