We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1615e0b commit 4a5854fCopy full SHA for 4a5854f
Commands/Get-WebSocket.ps1
@@ -325,7 +325,7 @@ function Get-WebSocket {
325
$Name = $WebSocketUri
326
}
327
328
- $existingJob = foreach ($jobWithThisName in (Get-Job -Name $Name)) {
+ $existingJob = foreach ($jobWithThisName in (Get-Job -Name $Name -ErrorAction Ignore)) {
329
if (
330
$jobWithThisName.State -in 'Running','NotStarted' -and
331
$jobWithThisName.WebSocket -is [Net.WebSockets.ClientWebSocket]
0 commit comments