Keyword: Critical...

pull/245/head
KnifMelti 2022-12-12 02:52:46 +01:00
parent 4e2c2b5c33
commit 369ae7bdd4
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ if (Test-Network) {
#If something is wrong with the winget source, exit #If something is wrong with the winget source, exit
if ($outdated -like "Problem:*") { if ($outdated -like "Problem:*") {
Write-Log "An error occured, exiting..." "red" Write-Log "Critical: An error occured, exiting..." "red"
Write-Log "$outdated" "red" Write-Log "$outdated" "red"
New-Item "$WorkingDir\logs\winget_error.txt" -Value "$outdated" -Force New-Item "$WorkingDir\logs\winget_error.txt" -Value "$outdated" -Force
Exit 1 Exit 1