misc(wpf): update sentry usage

This commit is contained in:
genteure 2023-02-03 20:17:32 +08:00
parent 7672b40429
commit 21ae09135d

View File

@ -312,7 +312,7 @@ namespace BililiveRecorder.WPF
o.SendDefaultPii = true;
o.IsGlobalModeEnabled = true;
o.DisableAppDomainUnhandledExceptionCapture();
o.DisableTaskUnobservedTaskExceptionCapture();
o.DisableUnobservedTaskExceptionCapture();
o.AddExceptionFilterForType<HttpRequestException>();
o.AddExceptionFilterForType<OutOfMemoryException>();
o.AddExceptionFilterForType<JintException>();