@@ -321,6 +321,7 @@ private async Task<bool> ValidateExecutableAccessAsync(string exePath, string ex
321321 {
322322 LogMessage ( $ "ERROR: Cannot access { exeName } . { ex . Message } ") ;
323323 ShowError ( $ "Cannot access { exeName } . Check antivirus or permissions.") ;
324+ _ = ReportBugAsync ( $ "Cannot access { exeName } ", ex ) ;
324325 return false ;
325326 }
326327 }
@@ -418,6 +419,7 @@ private async Task<bool> ValidateChdmanCompatibilityAsync(string chdmanPath, Can
418419
419420 // Other errors are acceptable - at least the exe started or we have a generic error
420421 LogMessage ( $ "WARNING: Could not validate chdman compatibility: { ex . Message } ") ;
422+ _ = ReportBugAsync ( "Could not validate chdman compatibility" , ex ) ;
421423 return true ;
422424 }
423425 }
@@ -1423,6 +1425,7 @@ private async Task<bool> ProcessSingleFileForConversionAsync(string chdmanPath,
14231425 catch ( Exception ex )
14241426 {
14251427 LogMessage ( $ "Direct conversion attempt error for { originalName } : { ex . Message } ") ;
1428+ _ = ReportBugAsync ( $ "Direct conversion attempt error for { originalName } ", ex ) ;
14261429 }
14271430
14281431 // Fallback: If direct conversion failed and we haven't already extracted to temp (i.e. it was a direct file attempt),
@@ -1491,6 +1494,7 @@ private async Task<bool> ProcessSingleFileForConversionAsync(string chdmanPath,
14911494 catch ( Exception ex )
14921495 {
14931496 LogMessage ( $ "Retry via temp failed for { originalName } : { ex . Message } ") ;
1497+ _ = ReportBugAsync ( $ "Retry via temp failed for { originalName } ", ex ) ;
14941498 }
14951499 }
14961500
@@ -1543,6 +1547,7 @@ private async Task<bool> ProcessSingleFileForConversionAsync(string chdmanPath,
15431547 catch ( Exception ex )
15441548 {
15451549 LogMessage ( $ "Error processing { originalName } : { ex . Message } ") ;
1550+ _ = ReportBugAsync ( $ "Error processing { originalName } ", ex ) ;
15461551 if ( ! string . IsNullOrEmpty ( outputChd ) ) await TryDeleteFileAsync ( outputChd , "failed CHD" , CancellationToken . None ) ;
15471552 return false ;
15481553 }
@@ -1667,6 +1672,7 @@ private static async Task MoveVerifiedFileAsync(string sourceFile, string target
16671672 {
16681673 // Log error but don't fail the verification
16691674 Debug . WriteLine ( $ "Failed to move file { sourceFile } : { ex . Message } ") ;
1675+ _ = ReportBugAsync ( $ "Failed to move file { sourceFile } ", ex ) ;
16701676 }
16711677 }
16721678
@@ -2498,6 +2504,7 @@ private async Task DeleteOriginalGameFilesAsync(string inputFile, CancellationTo
24982504 catch ( Exception ex )
24992505 {
25002506 LogMessage ( $ "Delete error: { ex . Message } ") ;
2507+ _ = ReportBugAsync ( "Delete error" , ex ) ;
25012508 }
25022509 }
25032510
0 commit comments