fix(appx): expose swallowed exceptions during Appx Package uninstallation via Write-Verbose (#617)

Co-authored-by: Jeffrey <9938813+Raphire@users.noreply.github.com>
This commit is contained in:
HetCreep
2026-06-10 16:43:37 +02:00
committed by GitHub
co-authored by Jeffrey
parent db24865051
commit 53ca51dffd
+1 -4
View File
@@ -124,10 +124,7 @@ function RemoveApps {
}
}
catch {
if ($DebugPreference -ne "SilentlyContinue") {
Write-Host "Something went wrong while trying to remove $app" -ForegroundColor Yellow
Write-Host $psitem.Exception.StackTrace -ForegroundColor Gray
}
Write-Verbose "Something went wrong while trying to remove $($app): $_"
}
}