From 00a0f4a2863fd6147cf02d2ca44533f901707c76 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Sun, 4 Jan 2009 19:39:17 +0000 Subject: [PATCH] * Added some information to HandleGenericMessage to indicate that it's not the packet that isnt being processed, but instead the method-type. --- OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 9c0a9cf3f5..55b77d459c 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -3695,11 +3695,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP handlerGenericMessage(sender, method, msg); return true; } - catch + catch(Exception e) { + m_log.Error("[GENERICMESSAGE] " + e); } } } + m_log.Error("[GENERICMESSAGE] Not handling GenericMessage with method-type of: " + method); return false; } @@ -4195,12 +4197,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP { #region Scene/Avatar - // case PacketType.GenericMessage: - // GenericMessagePacket gmpack = (GenericMessagePacket)Pack; - - // DecipherGenericMessage(Utils.BytesToString(gmpack.MethodData.Method), gmpack.MethodData.Invoice, gmpack.ParamList); - - // break; case PacketType.AvatarPropertiesRequest: AvatarPropertiesRequestPacket avatarProperties = (AvatarPropertiesRequestPacket)Pack;