From 23772c7a582ffd920706330d52b8603e9859ef4c Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期五, 07 十二月 2018 19:39:06 +0800
Subject: [PATCH] 4856 许愿池重置修改

---
 ServerPython/CoreServerGroup/GameServer/Script/NetPackCommon.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/NetPackCommon.py b/ServerPython/CoreServerGroup/GameServer/Script/NetPackCommon.py
index c57ad42..ef9b24e 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/NetPackCommon.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/NetPackCommon.py
@@ -205,7 +205,8 @@
         
     except Exception:
         Log("python自定义封包解析失败~~~~~\r\n%s" % traceback.format_exc())
-        #raise Exception("python自定义封包解析失败~~~~~\r\n%s" % traceback.format_exc())
+        if GameWorld.GetGameWorld().GetDebugLevel():
+            raise Exception("python自定义封包解析失败~~~~~\r\n%s" % traceback.format_exc())
         return 
     
     

--
Gitblit v1.8.0