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.
2 parents 7d55f58 + 57ae72c commit f4677b9Copy full SHA for f4677b9
ReportingServicesTools/Functions/CatalogItems/Copy-RsSubscription.ps1
@@ -147,7 +147,7 @@ function Copy-RsSubscription
147
}
148
catch
149
{
150
- throw (New-Object System.Exception("Exception occurred while creating subscription! $($_.Exception.Message)", $_.Exception))
+ Write-Error "Error occurred while creating subscription $($sub.SubscriptionId) because: $($_.Exception.Message)"
151
152
153
0 commit comments