File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -203,10 +203,10 @@ try {
203203
204204 Write-Verbose " Error at Line [$ ( $ex.InvocationInfo.ScriptLineNumber ) ]: $ ( $ex.InvocationInfo.Line ) . Error: $ ( $errorMessage.VerboseErrorMessage ) "
205205
206- if ($errorMessage.AuditErrorMessage -Like " No AFAS employee found AFAS employee *" ) {
206+ if ($errorMessage.AuditErrorMessage -Like " No AFAS employee found*" ) {
207207 $outputContext.AuditLogs.Add ([PSCustomObject ]@ {
208208 Action = " DeleteAccount"
209- Message = " No AFAS employee found AFAS employee where [$ ( $correlationProperty ) ] = [$ ( $correlationValue ) ]. Possibly deleted."
209+ Message = " No AFAS employee found where [$ ( $correlationProperty ) ] = [$ ( $correlationValue ) ]. Possibly deleted."
210210 IsError = $false
211211 })
212212 }
@@ -360,4 +360,4 @@ finally {
360360 $outputContext.AccountReference = $aRef
361361 $outputContext.Data = $exportData
362362 $outputContext.PreviousData = $previousAccount
363- }
363+ }
You can’t perform that action at this time.
0 commit comments