Compare commits
No commits in common. "dec416a15842304f2a3f4486bafd48d642c23d68" and "9955c4db93882fe8531b68175dba10686413d343" have entirely different histories.
dec416a158
...
9955c4db93
@ -4,9 +4,6 @@ import {PlayerFun} from "../../public/player";
|
||||
import {ReqYanShi, ResYanShi} from "../../shared/protocols/kuangdong/PtlYanShi";
|
||||
|
||||
export default async function (call: ApiCall<ReqYanShi, ResYanShi>) {
|
||||
|
||||
return call.errorCode(1)
|
||||
|
||||
let hdid = call.req.hdid
|
||||
let con = await KuangDongfun.getCon(hdid)
|
||||
|
||||
|
@ -30,17 +30,16 @@ async function connGameLogDB() {
|
||||
|
||||
|
||||
process.on('uncaughtException',function(err:Error){
|
||||
addErrorLog((err?.stack)?.toString());
|
||||
addErrorLog((err.stack).toString());
|
||||
})
|
||||
|
||||
process.on('unhandledRejection', function (err:Error, promise) {
|
||||
addErrorLog((err?.stack)?.toString());
|
||||
addErrorLog((err.stack).toString());
|
||||
})
|
||||
|
||||
async function addErrorLog(errData:any){
|
||||
try{
|
||||
//g123测试版连接不上db,不抓取
|
||||
if(!errData)return;
|
||||
if(isG123stg())return;
|
||||
let log = {
|
||||
serverId : G.config.serverId,
|
||||
|
Loading…
Reference in New Issue
Block a user