fix: trace

This commit is contained in:
手瓜一十雪
2024-12-30 16:47:33 +08:00
parent 73ea130e40
commit 193980dd4a
4 changed files with 12 additions and 12 deletions

View File

@@ -156,9 +156,9 @@ export class NapCatCore {
msgListener.onKickedOffLine = (Info: KickedOffLineInfo) => {
if (this.context.workingEnv === NapCatCoreWorkingEnv.Framework) {
UmamiTrace.sendEvent('framework/kickoff');
UmamiTrace.sendTrace('framework/kickoff');
} else {
UmamiTrace.sendEvent('shell/kickoff');
UmamiTrace.sendTrace('shell/kickoff');
}
// 下线通知
this.context.logger.logError('[KickedOffLine] [' + Info.tipsTitle + '] ' + Info.tipsDesc);