Differences

This shows you the differences between the selected revisions of the page.

2023-10-31 2023-11-27 (current)
synchronization anchor (martin) propagating errors from parallel sessions/threads (martin)
Line 211: Line 211:
        Write-Host "Waiting for downloads to complete..."         Write-Host "Waiting for downloads to complete..."
-        Get-Job | Receive-Job -Wait+        Get-Job | Receive-Job -Wait -ErrorAction Stop
        Write-Host "Done"         Write-Host "Done"
Line 494: Line 494:
       
            Write-Host "Waiting for connections to complete..."             Write-Host "Waiting for connections to complete..."
-            Get-Job | Receive-Job -Wait+            Get-Job | Receive-Job -Wait -ErrorAction Stop
       
            Write-Host "Done"             Write-Host "Done"

Last modified: by martin