From 71a5b8c236d7538053a3a893adccaa0d59798521 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期六, 20 二月 2021 15:26:52 +0800 Subject: [PATCH] 4936 【工具】没有绿的异常报错增加发送运维邮件通知 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py index b1c5d28..3b8585b 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py @@ -438,9 +438,7 @@ except: curPlayer.Kick(IPY_GameWorld.disWaitForPlayerLoinError) import traceback - GameWorld.ErrLog("玩家上线逻辑错误~~~~~\r\n%s" % traceback.format_exc()) - if GameWorld.GetGameWorld().GetDebugLevel(): - raise Exception("玩家上线逻辑错误~~~~\r\n%s" % traceback.format_exc()) + GameWorld.RaiseException("玩家上线逻辑错误\r\n%s" % traceback.format_exc()) return #-------------------------------------------------------- -- Gitblit v1.8.0