mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2026-10-19 20:22:04 +00:00
fix: change verbose message to error for WinGet uninstall timeout
This commit is contained in:
@@ -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: $_"
|
||||
|
||||
Reference in New Issue
Block a user