From d8e5fed26a9e170f8a7f145428b2dd607f74e4fe Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 11 一月 2019 16:42:18 +0800
Subject: [PATCH] 2857 【BUG】【1.5】采集被打断问题 - 屏蔽无用代码
---
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