From 5faab9df624b3bf4344d1e116bf80e163aa98b23 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期三, 13 三月 2019 18:00:53 +0800
Subject: [PATCH] 6307 【后端】【2.0】多套装备开发单(外观通知修改)
---
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