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.
1 parent 09c821d commit 806de1cCopy full SHA for 806de1c
Modules/CIPPCore/Public/Entrypoints/Activity Triggers/Standards/Push-CIPPStandard.ps1
@@ -21,7 +21,9 @@ function Push-CIPPStandard {
21
}
22
try {
23
& $FunctionName -Tenant $Item.Tenant -Settings $Item.Settings -ErrorAction Stop
24
+ Write-Information "Standard $($Standard) completed for tenant $($Tenant)"
25
} catch {
26
+ Write-LogMessage -API 'Standards' -tenant $Tenant -message "Error running standard $($Standard) for tenant $($Tenant) - $($_.Exception.Message)" -sev Error -LogData (Get-CippException -Exception $_)
27
throw $_.Exception.Message
28
29
0 commit comments