add:Dlass遥测

This commit is contained in:
2026-02-06 23:14:41 +08:00
parent 28f65b3790
commit a62ae3c6e0
+9
View File
@@ -115,6 +115,15 @@ namespace Ink_Canvas.Helpers
}
}
SentrySdk.ConfigureScope(scope =>
{
if (scope.User == null)
{
scope.User = new Sentry.User();
}
scope.User.Id = deviceId;
});
// 通过 Sentry 上报一个包含遥测信息的事件
var evt = new SentryEvent
{