From c96e8ed5c248f3ff2edbee5f4a7d332b0e153a1e Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期三, 05 十二月 2018 14:31:31 +0800
Subject: [PATCH] 5183 仙盟BOSS开启输出

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