aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-03-09 22:03:12 +0000
committerJustin Clark-Casey (justincc)2011-03-09 22:03:12 +0000
commit20aeace8d75fa5a1a3d0ba1d3d9ab6cdad2cf088 (patch)
treec3f73a595ed26496c5a32d170017bc069d92f315 /OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs
parentUpdate MySql.Data.dll to version 6.3.6. (diff)
downloadopensim-SC-20aeace8d75fa5a1a3d0ba1d3d9ab6cdad2cf088.zip
opensim-SC-20aeace8d75fa5a1a3d0ba1d3d9ab6cdad2cf088.tar.gz
opensim-SC-20aeace8d75fa5a1a3d0ba1d3d9ab6cdad2cf088.tar.bz2
opensim-SC-20aeace8d75fa5a1a3d0ba1d3d9ab6cdad2cf088.tar.xz
Add log messages on teleport failure to better pin down the cause.
Diffstat (limited to 'OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs')
-rw-r--r--OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs
index 463b2fb..93b3ae6 100644
--- a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs
+++ b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs
@@ -79,9 +79,6 @@ namespace OpenSim.Services.Connectors.Simulation
79 return "agent/"; 79 return "agent/";
80 } 80 }
81 81
82 /// <summary>
83 ///
84 /// </summary>
85 public bool CreateAgent(GridRegion destination, AgentCircuitData aCircuit, uint flags, out string reason) 82 public bool CreateAgent(GridRegion destination, AgentCircuitData aCircuit, uint flags, out string reason)
86 { 83 {
87 // m_log.DebugFormat("[REMOTE SIMULATION CONNECTOR]: CreateAgent start"); 84 // m_log.DebugFormat("[REMOTE SIMULATION CONNECTOR]: CreateAgent start");
@@ -109,6 +106,9 @@ namespace OpenSim.Services.Connectors.Simulation
109 if (result["Success"].AsBoolean()) 106 if (result["Success"].AsBoolean())
110 return true; 107 return true;
111 108
109 m_log.WarnFormat(
110 "[REMOTE SIMULATION CONNECTOR]: Failed to create agent {0} {1} at remote simulator {1}",
111 aCircuit.firstname, aCircuit.lastname, destination.RegionName);
112 reason = result["Message"] != null ? result["Message"].AsString() : "error"; 112 reason = result["Message"] != null ? result["Message"].AsString() : "error";
113 return false; 113 return false;
114 } 114 }