Skip to content

Commit 57ae72c

Browse files
committed
Corrected which SubscriptionID to display in error message.
1 parent f9f7a51 commit 57ae72c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ReportingServicesTools/Functions/CatalogItems/Copy-RsSubscription.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ function Copy-RsSubscription
147147
}
148148
catch
149149
{
150-
Write-Error "Error occurred while creating subscription $($subscriptionId)! $($_.Exception.Message)"
150+
Write-Error "Error occurred while creating subscription $($sub.SubscriptionId) because: $($_.Exception.Message)"
151151
}
152152
}
153153
}

0 commit comments

Comments
 (0)