From f1788ddd849b6e3356571a8e7c6e844aafda1414 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期三, 20 二月 2019 14:02:07 +0800
Subject: [PATCH] 6258 【后端】【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