From ee8150e8d0bc89c39d5c09a3e7c64a737b67294a Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 03 六月 2021 11:29:48 +0800
Subject: [PATCH] 8970 【后端】【btzf】【bt】【bt2】【主干】装备格数新增到16阶(MapServerConfig.ini 装备背包格子加到203格)

---
 Tool/RobotTest/Robot/RobotBase.py |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/Tool/RobotTest/Robot/RobotBase.py b/Tool/RobotTest/Robot/RobotBase.py
index 211c67a..9806d0c 100644
--- a/Tool/RobotTest/Robot/RobotBase.py
+++ b/Tool/RobotTest/Robot/RobotBase.py
@@ -371,7 +371,11 @@
             self.allsend += sendPack.GetLength()
             logging.debug( "%s send %d bytes data. recvAll:%d sendAll:%d ALL:%d" % \
                           ( str(self), sendPack.GetLength(), self.allrecv, self.allsend, self.allrecv+self.allsend ) )
-        self.__mgr.SendData( self.__peer, sendPack.GetBuffer(), sendPack.GetLength() )
+            
+        try:
+            self.__mgr.SendData( self.__peer, sendPack.GetBuffer(), sendPack.GetLength() )
+        except:
+            print self.__peer, sendPack.OutputString()
         
     
     ## py自定义包mapserver包

--
Gitblit v1.8.0