fix: change verbose message to error for WinGet uninstall timeout

This commit is contained in:
Jeffrey
2026-10-17 00:46:35 +02:00
parent dd1f934174
commit bcf44718f1
2 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -196,7 +196,7 @@ function Remove-WinGetApp {
catch {
$uninstallCommandSucceeded = $false
if ($_.Exception.Message -like 'Operation timed out after *') {
Write-Verbose "WinGet uninstall for $app did not complete within $TimeoutSeconds seconds: $_"
Write-Error "WinGet uninstall for $app did not complete within $TimeoutSeconds seconds: $_"
}
else {
Write-Verbose "WinGet uninstall for $app failed: $_"