diff options
author | UbitUmarov | 2019-01-28 04:38:27 +0000 |
---|---|---|
committer | UbitUmarov | 2019-01-28 04:38:27 +0000 |
commit | 52e5f58c9ae2b3a973f81168dff92f49b20b8b4b (patch) | |
tree | a5736f4aa0a5104ad751ae0e1e36b081d9e1722a /OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |
parent | change encoding of event cap messages (diff) | |
download | opensim-SC-52e5f58c9ae2b3a973f81168dff92f49b20b8b4b.zip opensim-SC-52e5f58c9ae2b3a973f81168dff92f49b20b8b4b.tar.gz opensim-SC-52e5f58c9ae2b3a973f81168dff92f49b20b8b4b.tar.bz2 opensim-SC-52e5f58c9ae2b3a973f81168dff92f49b20b8b4b.tar.xz |
add a try catch on HandleMapItemRequest
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 481bb91..0d55575 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -10601,11 +10601,18 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
10601 | MapItemRequest handlerMapItemRequest = OnMapItemRequest; | 10601 | MapItemRequest handlerMapItemRequest = OnMapItemRequest; |
10602 | if (handlerMapItemRequest != null) | 10602 | if (handlerMapItemRequest != null) |
10603 | { | 10603 | { |
10604 | handlerMapItemRequest(this, mirpk.AgentData.Flags, mirpk.AgentData.EstateID, | 10604 | try |
10605 | { | ||
10606 | handlerMapItemRequest(this, mirpk.AgentData.Flags, mirpk.AgentData.EstateID, | ||
10605 | mirpk.AgentData.Godlike, mirpk.RequestData.ItemType, | 10607 | mirpk.AgentData.Godlike, mirpk.RequestData.ItemType, |
10606 | mirpk.RequestData.RegionHandle); | 10608 | mirpk.RequestData.RegionHandle); |
10607 | 10609 | } | |
10610 | catch( Exception e) | ||
10611 | { | ||
10612 | m_log.ErrorFormat("{0} HandleMapItemRequest exception: {1}", LogHeader, e.Message); | ||
10613 | } | ||
10608 | } | 10614 | } |
10615 | |||
10609 | return true; | 10616 | return true; |
10610 | } | 10617 | } |
10611 | 10618 | ||