From 3a3c8c01d29e7b160aaa7bf563b7f33186935e77 Mon Sep 17 00:00:00 2001 From: Coding for fun Date: Wed, 6 Nov 2024 06:58:56 +0100 Subject: [PATCH] Ignore errors from LogBoost. --- downloadFiles.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/downloadFiles.ps1 b/downloadFiles.ps1 index 88d14e4..41653e4 100644 --- a/downloadFiles.ps1 +++ b/downloadFiles.ps1 @@ -402,7 +402,9 @@ $errors = Get-ChildItem .\log\* -Recurse | Select-String -Pattern "error" | Wher $_.Line -notmatch "gpg-error" } -$failed = Get-ChildItem .\log\* -Recurse | Select-String -Pattern "Failed" +$failed = Get-ChildItem .\log\* -Recurse | Select-String -Pattern "Failed" | Where-Object { + $_.Line -notmatch "A connection attempt failed because the connected party did not" +} if ($warnings -or $errors -or $failed) { Write-DateLog "Errors or warnings were found in log files. Please check the log files for details."