测试:修复军团排行榜
This commit is contained in:
+1
-1
@@ -132,7 +132,7 @@ function errorHandler(err: Error, msg: any, resp: any,
|
||||
errlogger.error(`${pinus.app.serverId} error handler \n msg[${JSON.stringify(msg)}] \n resp[${JSON.stringify(resp)}] \n sessionId:${JSON.stringify(session.export())} \n error 【${errCode}】 stack: ${err.stack}`);
|
||||
|
||||
if (!resp) {
|
||||
resp = resResult(STATUS.GLOBAL_ERR, { errCode });
|
||||
resp = resResult(STATUS.GLOBAL_ERR, { errCode, stack: err.stack });
|
||||
}
|
||||
cb(err, resp);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user