add a try catch on HandleMapItemRequest
parent
cc27168cc1
commit
52e5f58c9a
|
@ -10600,12 +10600,19 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
//m_log.Debug(mirpk.ToString());
|
||||
MapItemRequest handlerMapItemRequest = OnMapItemRequest;
|
||||
if (handlerMapItemRequest != null)
|
||||
{
|
||||
try
|
||||
{
|
||||
handlerMapItemRequest(this, mirpk.AgentData.Flags, mirpk.AgentData.EstateID,
|
||||
mirpk.AgentData.Godlike, mirpk.RequestData.ItemType,
|
||||
mirpk.RequestData.RegionHandle);
|
||||
|
||||
}
|
||||
catch( Exception e)
|
||||
{
|
||||
m_log.ErrorFormat("{0} HandleMapItemRequest exception: {1}", LogHeader, e.Message);
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue