Skip to content

Commit

Permalink
Ignore errors from LogBoost.
Browse files Browse the repository at this point in the history
  • Loading branch information
reuteras committed Nov 6, 2024
1 parent 107cc2e commit 3a3c8c0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion downloadFiles.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 3a3c8c0

Please sign in to comment.