Skip to content

Commit

Permalink
Added verbosity to suspected failure point
Browse files Browse the repository at this point in the history
  • Loading branch information
randomnote1 committed Jul 27, 2022
1 parent 56e681c commit c5f6c25
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/DSCResources/DSC_SqlRS/DSC_SqlRS.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -1075,6 +1075,8 @@ function Set-TargetResource
{
if ( $_.Exception -match 'The report server was unable to validate the integrity of encrypted data in the database' )
{
Write-Verbose -Message 'Received a runtime exception'

# Restore key here
$invokeRsCimMethodRestoreEncryptionKeyParameters = @{
CimInstance = $reportingServicesData.Configuration
Expand Down

0 comments on commit c5f6c25

Please sign in to comment.