Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronparker committed Jan 17, 2024
1 parent e245c2f commit 77ec81c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Evergreen/Apps/Get-FileZilla.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ function Get-FileZilla {

# Convert the content to an object
try {
$Updates = ($Content | ConvertFrom-Csv -Delimiter $res.Get.Update.Delimiter -Header $res.Get.Update.Headers) | `
$Updates = $Content | ConvertFrom-Csv -Delimiter $res.Get.Update.Delimiter -Header $res.Get.Update.Headers | `
Where-Object { $_.Channel -eq $res.Get.Update.Channel }
}
catch [System.Exception] {
catch {
throw $_
}

Expand Down
4 changes: 2 additions & 2 deletions Evergreen/Manifests/FileZilla.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"Source": "https://filezilla-project.org/",
"Get": {
"Update": {
"Uri": "https://update.filezilla-project.org/update.php?osarch=64&platform=x86_64-w64-mingw32&version=3.56.1",
"UserAgent": "FileZilla/3.66.1",
"Uri": "https://update.filezilla-project.org/update.php?osarch=64&platform=x86_64-w64-mingw32",
"UserAgent": "FileZilla/3.56.1",
"Delimiter": " ",
"Headers": [
"Channel",
Expand Down
2 changes: 1 addition & 1 deletion Evergreen/Private/Invoke-SystemNetRequest.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Function Invoke-SystemNetRequest {
Write-Output -InputObject $result
}
catch [System.Exception] {
Write-Warning -Message "$($MyInvocation.MyCommand): $_, with: $Uri."
Write-Warning -Message "$($MyInvocation.MyCommand): $($_.Exception.Message), with: $Uri."
Write-Warning -Message "$($MyInvocation.MyCommand): For troubleshooting steps see: $($script:resourceStrings.Uri.Info)."
throw $_
}
Expand Down

0 comments on commit 77ec81c

Please sign in to comment.