diff --git a/Hi3Helper.Core/Classes/SentryHelper/SentryHelper.cs b/Hi3Helper.Core/Classes/SentryHelper/SentryHelper.cs index 5e40e4ec3..ef39deedf 100644 --- a/Hi3Helper.Core/Classes/SentryHelper/SentryHelper.cs +++ b/Hi3Helper.Core/Classes/SentryHelper/SentryHelper.cs @@ -141,7 +141,7 @@ public static void InitializeSentrySdk() o.SendDefaultPii = false; o.MaxAttachmentSize = SentryMaxAttachmentSize; o.DeduplicateMode = DeduplicateMode.All; - o.Environment = Debugger.IsAttached ? "debug" : "non-debug"; + o.Environment = Debugger.IsAttached ? "debug" : IsPreview ? "non-debug" : "stable"; }); SentrySdk.ConfigureScope(s => {