From 8726c0f29ffbe310a84bf6b4f530d5dcdbd246fd Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 25 二月 2022 15:44:24 +0800
Subject: [PATCH] 9462 【BT5】【bt5_1.101.1】【BT6】【yn_1.0.1】【主干】【gt_1.103.1】【后端】定时存档优化(优化协助感谢数据存储:存档前移除7日前未完结数据)

---
 ServerPython/CoreServerGroup/GameServer/Script/GM/GMShell.py |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GM/GMShell.py b/ServerPython/CoreServerGroup/GameServer/Script/GM/GMShell.py
index 7a34771..858d160 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/GM/GMShell.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/GM/GMShell.py
@@ -205,11 +205,8 @@
         callFunc(orderId, cmdDict)
         
     except BaseException:
-        GameWorld.Log('GM命令错误 - > %s'%(traceback.format_exc()))
-
         GMCommon.GMCommandResult(orderId, gmCmdDict, GMCommon.Def_GMGSEntranceFail)
-        if GameWorld.GetGameWorld().GetDebugLevel():
-            raise BaseException(str(traceback.format_exc()))
+        GameWorld.RaiseException('GM命令错误\r\n%s'%(traceback.format_exc()))
         return 
 
     return 

--
Gitblit v1.8.0