diff --git a/Bloxstrap/App.xaml.cs b/Bloxstrap/App.xaml.cs index 907dd8ed..fd65e2eb 100644 --- a/Bloxstrap/App.xaml.cs +++ b/Bloxstrap/App.xaml.cs @@ -71,16 +71,14 @@ void GlobalExceptionHandler(object sender, DispatcherUnhandledExceptionEventArgs void FinalizeExceptionHandling(Exception exception) { -#pragma warning disable 162 #if DEBUG throw exception; -#endif - +#else if (!IsQuiet) Controls.ShowExceptionDialog(exception); Terminate(ErrorCode.ERROR_INSTALL_FAILURE); -#pragma warning restore 162 +#endif } protected override void OnStartup(StartupEventArgs e) diff --git a/Bloxstrap/UI/Elements/Bootstrapper/FluentDialog.xaml b/Bloxstrap/UI/Elements/Bootstrapper/FluentDialog.xaml index 5916c073..eb8b10de 100644 --- a/Bloxstrap/UI/Elements/Bootstrapper/FluentDialog.xaml +++ b/Bloxstrap/UI/Elements/Bootstrapper/FluentDialog.xaml @@ -38,7 +38,7 @@ -