do not stop when using fallback method

This commit is contained in:
David Refoua 2022-10-25 19:46:56 +03:30
parent a2a996147e
commit ce23189427

View File

@ -235,7 +235,7 @@ function Download-File {
}
}
catch {
Write-Error "Failed to download file using BITS, reason: $_`nUsing fallback method instead...`n"
Write-Error "Failed to download file using BITS, reason: $_`nUsing fallback method instead...`n" -ErrorAction:Continue
}
Write-Verbose "Downloading from $Url to $File`n"