From 0d2578daffd3b32fb0fa05e7dd92e88aa2d92ffa Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 01 三月 2019 16:23:06 +0800
Subject: [PATCH] 3039 【主干】【1.6】合服定制活动期间资源找回异常

---
 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