From 08fa7139023e47771663fe54e1caba3024bef9ce Mon Sep 17 00:00:00 2001 From: Johan Ljunggren Date: Fri, 2 Feb 2024 20:41:57 +0100 Subject: [PATCH] Fix code --- source/Public/Start-PSResourceGetBootstrap.ps1 | 2 -- 1 file changed, 2 deletions(-) diff --git a/source/Public/Start-PSResourceGetBootstrap.ps1 b/source/Public/Start-PSResourceGetBootstrap.ps1 index 2aee6ca..bba9a72 100644 --- a/source/Public/Start-PSResourceGetBootstrap.ps1 +++ b/source/Public/Start-PSResourceGetBootstrap.ps1 @@ -200,8 +200,6 @@ function Start-PSResourceGetBootstrap $exception = New-Exception -ErrorRecord $_ -Message ($script:localizedData.Start_PSResourceGetBootstrap_FailedDownload -f $name) $errorRecord = New-ErrorRecord -Exception $exception -ErrorId 'SPSRGB0001' -ErrorCategory 'InvalidOperation' -TargetObject $name - Write-Verbose -Message $errorRecord.Exception -Verbose - $PSCmdlet.ThrowTerminatingError($errorRecord) }