fix: trace

This commit is contained in:
手瓜一十雪 committed 2024-12-30 16:47:33 +08:00
1 parent e650be1fc5
commit bac4079b3d
4 files changed
+12 -12

No files matched your search

+2 -2
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);