Skip to content

Commit f0f9466

Browse files
authored
Merge pull request #633 from KelvinTegelaar/dev
[pull] dev from KelvinTegelaar:dev
2 parents ed2aae8 + f34bbcb commit f0f9466

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/CIPPCore/Public/Alerts/Get-CIPPAlertTERRL.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ function Get-CIPPAlertTERRL {
3535
}
3636
}
3737
} catch {
38-
Write-AlertMessage -tenant $($TenantFilter) -message "Could not get TERRL status for $($TenantFilter): $(Get-NormalizedError -message $_.Exception.message)"
38+
Write-LogMessage -tenant $($TenantFilter) -message "Could not get TERRL status for $($TenantFilter): $(Get-NormalizedError -message $_.Exception.message)" -severity 'Error' -API 'CIPPAlertTERRL' -LogData (Get-CippException -Exception $_)
3939
}
4040
}

0 commit comments

Comments
 (0)