diff options
author | Diva Canto | 2010-06-30 06:35:22 -0700 |
---|---|---|
committer | Diva Canto | 2010-06-30 06:35:22 -0700 |
commit | b6264e60d39b12d03e3d5e57eb07fa7a5d1a2852 (patch) | |
tree | 2792345d2209d716f477b41f53c3e9e172618a90 /OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | |
parent | Revert "stop exceptions in setting and getting state from propogating since t... (diff) | |
download | opensim-SC_OLD-b6264e60d39b12d03e3d5e57eb07fa7a5d1a2852.zip opensim-SC_OLD-b6264e60d39b12d03e3d5e57eb07fa7a5d1a2852.tar.gz opensim-SC_OLD-b6264e60d39b12d03e3d5e57eb07fa7a5d1a2852.tar.bz2 opensim-SC_OLD-b6264e60d39b12d03e3d5e57eb07fa7a5d1a2852.tar.xz |
Removed opportunity for exception in BaseHttpServer. (mantis #4825)
Diffstat (limited to 'OpenSim/Server/Handlers/Simulation/AgentHandlers.cs')
-rw-r--r-- | OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs index bc31815..d261678 100644 --- a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs +++ b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | |||
@@ -283,6 +283,10 @@ namespace OpenSim.Server.Handlers.Simulation | |||
283 | if (m_SimulationService == null) | 283 | if (m_SimulationService == null) |
284 | { | 284 | { |
285 | m_log.Debug("[AGENT HANDLER]: Agent GET called. Harmless but useless."); | 285 | m_log.Debug("[AGENT HANDLER]: Agent GET called. Harmless but useless."); |
286 | responsedata["content_type"] = "application/json"; | ||
287 | responsedata["int_response_code"] = HttpStatusCode.NotImplemented; | ||
288 | responsedata["str_response_string"] = string.Empty; | ||
289 | |||
286 | return; | 290 | return; |
287 | } | 291 | } |
288 | 292 | ||