修服日志中的服务器内部错误的报错

This commit is contained in:
luying
2022-01-13 13:47:37 +08:00
parent 89df745671
commit b43b11bb1f
2 changed files with 2 additions and 1 deletions

View File

@@ -404,6 +404,7 @@ export class ComBattleHandler {
let roleId = session.get('roleId');
let { teamCode } = msg;
let teamStatus = this.teamMap.get(teamCode);
if(!teamStatus) return resResult(STATUS.SUCCESS);
let channelService = this.app.get('channelService');
let channel = channelService.getChannel(teamCode, false);
let result = await dismissTeam(teamStatus, this.teamMap, roleId, this.teamDisTimer, channel);