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

0.7-release
Diva Canto 2010-06-30 06:35:22 -07:00
parent b3ce5ffc11
commit bd68591371
1 changed files with 4 additions and 0 deletions

View File

@ -283,6 +283,10 @@ namespace OpenSim.Server.Handlers.Simulation
if (m_SimulationService == null) if (m_SimulationService == null)
{ {
m_log.Debug("[AGENT HANDLER]: Agent GET called. Harmless but useless."); 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; return;
} }