Removed opportunity for exception in BaseHttpServer. (mantis #4825)

prebuild-update
Diva Canto 2010-06-30 06:35:22 -07:00
parent be0af01061
commit b6264e60d3
1 changed files with 4 additions and 0 deletions

View File

@ -283,6 +283,10 @@ namespace OpenSim.Server.Handlers.Simulation
if (m_SimulationService == null)
{
m_log.Debug("[AGENT HANDLER]: Agent GET called. Harmless but useless.");
responsedata["content_type"] = "application/json";
responsedata["int_response_code"] = HttpStatusCode.NotImplemented;
responsedata["str_response_string"] = string.Empty;
return;
}