Invoke-WebRequest do not generate error at break of connection while downloading #16122
Closed
5 tasks done
Labels
Issue-Question
ideally support can be provided via other mechanisms, but sometimes folks do open an issue to get a
Resolution-Fixed
The issue is fixed.
WG-Cmdlets-Utility
cmdlets in the Microsoft.PowerShell.Utility module
Prerequisites
Steps to reproduce
I am expecting a problem with «Invoke-WebRequest» in «Try-Catch».
I think error should generated when Internet connection is breaking, but next operator in Try-block is running.
The file on the disk remains PARTIALLY downloaded without any errors raising.
Expected behavior
Actual behavior
Error details
No response
Environment data
Visuals
No response
The text was updated successfully, but these errors were encountered: