Improve generic message exception logging. Quieten down complaints about unhandled GenericMessages

viewer-2-initial-appearance
Justin Clark-Casey (justincc) 2010-09-13 21:52:36 +01:00
parent e4858b0eeb
commit fbe72e30eb
1 changed files with 4 additions and 2 deletions

View File

@ -5199,11 +5199,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP
} }
catch (Exception e) catch (Exception e)
{ {
m_log.Error("[GENERICMESSAGE] " + e); m_log.ErrorFormat(
"[LLCLIENTVIEW]: Exeception when handling generic message {0}{1}", e.Message, e.StackTrace);
} }
} }
} }
m_log.Error("[GENERICMESSAGE] Not handling GenericMessage with method-type of: " + method);
//m_log.Debug("[LLCLIENTVIEW]: Not handling GenericMessage with method-type of: " + method);
return false; return false;
} }