diff --git a/LRReader.UWP/App.xaml.cs b/LRReader.UWP/App.xaml.cs index 0229c77..e66e0e9 100644 --- a/LRReader.UWP/App.xaml.cs +++ b/LRReader.UWP/App.xaml.cs @@ -34,7 +34,7 @@ public App() Init.EarlyInit(); // Manually read setting to prevent services from initializing too early var crashReporting = ApplicationData.Current.LocalSettings.Values["CrashReporting"]; - if ((bool)(crashReporting ?? true)) + if ((bool)(crashReporting ?? true) && Uri.IsWellFormedUriString(Secrets.SentryDsn, UriKind.Absolute)) { #if !DEBUG SentrySdk.Init(options =>