@@ -282,9 +282,9 @@ the program to enter an infinite restart loop
282282
283283 RestartApplication ( true , ref applicationMutex ) ;
284284 }
285- } catch ( InvalidModificationException ex ) {
285+ } catch ( InvalidModificationException ) {
286286 // abort the operation
287- LogExceptionToLauncher ( ex ) ;
287+ // LogExceptionToLauncher(ex);
288288 throw ;
289289 } catch ( Exception ex ) {
290290 // failed to restart
@@ -301,9 +301,9 @@ private void AskLaunchWithCompatibilitySettings() {
301301 AskLaunch ( Properties . Resources . WithCompatibilitySettings ) ;
302302
303303 RestartApplication ( false , ref applicationMutex ) ;
304- } catch ( InvalidModificationException ex ) {
304+ } catch ( InvalidModificationException ) {
305305 // abort the operation
306- LogExceptionToLauncher ( ex ) ;
306+ // LogExceptionToLauncher(ex);
307307 throw ;
308308 } catch ( Exception ex ) {
309309 // failed to restart
@@ -372,9 +372,9 @@ private void AskLaunchWithOldCPUSimulator() {
372372 HideWindow ( ref processStartInfo ) ;
373373
374374 RestartApplication ( false , ref applicationMutex , processStartInfo ) ;
375- } catch ( InvalidModificationException ex ) {
375+ } catch ( InvalidModificationException ) {
376376 // abort the operation
377- LogExceptionToLauncher ( ex ) ;
377+ // LogExceptionToLauncher(ex);
378378 throw ;
379379 } catch ( Exception ex ) {
380380 // failed to restart
@@ -539,8 +539,8 @@ private async Task ImportActiveXAsync(ErrorDelegate errorDelegate) {
539539 LogExceptionToLauncher ( ex ) ;
540540 errorDelegate ( Properties . Resources . GameNotCuratedCorrectly ) ;
541541 throw new ActiveXImportFailedException ( "The ActiveX Import failed because the Modification is invalid." ) ;
542- } catch ( InvalidTemplateException ex ) {
543- LogExceptionToLauncher ( ex ) ;
542+ } catch ( InvalidTemplateException ) {
543+ // LogExceptionToLauncher(ex);
544544 errorDelegate ( Properties . Resources . CurationMissingTemplateName ) ;
545545 throw ;
546546 } catch ( InvalidOperationException ex ) {
@@ -1019,8 +1019,8 @@ private async Task ActivateModificationsAsync(TemplateElement templateElement, E
10191019 if ( modificationsElement . SingleInstance . ElementInformation . IsPresent ) {
10201020 try {
10211021 singleInstance . Activate ( TemplateName ) ;
1022- } catch ( InvalidModificationException ex ) {
1023- LogExceptionToLauncher ( ex ) ;
1022+ } catch ( InvalidModificationException ) {
1023+ // LogExceptionToLauncher(ex);
10241024 throw ;
10251025 } catch ( TaskRequiresElevationException ex ) {
10261026 LogExceptionToLauncher ( ex ) ;
0 commit comments