feat: errorStack

This commit is contained in:
pk5ls20
2024-11-13 16:52:03 +08:00
parent f58adb6dbf
commit a84e7a19f5
11 changed files with 102 additions and 35 deletions

View File

@@ -10,7 +10,8 @@ export abstract class GetPacketStatusDepends<PT, RT> extends BaseAction<PT, RT>
// TODO: add error stack?
return {
valid: false,
message: "packetBackend不可用请参照文档 https://napneko.github.io/config/advanced 和启动日志检查packetBackend状态或进行配置",
message: "packetBackend不可用请参照文档 https://napneko.github.io/config/advanced 和启动日志检查packetBackend状态或进行配置" +
"错误堆栈信息:" + this.core.apis.PacketApi.clientLogStack,
};
}
return await super.check(payload);