From 78624e46842b26d7e7ed7d993b46747fce55042c Mon Sep 17 00:00:00 2001 From: Andrzej Demski <75534654+AndrewDemski-ad-gmail-com@users.noreply.github.com> Date: Mon, 1 Apr 2024 14:46:04 +0200 Subject: [PATCH] Update Write-CMTraceLog.ps1 --- .../WAU/Winget-AutoUpdate/functions/Write-CMTraceLog.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/WAU/Winget-AutoUpdate/functions/Write-CMTraceLog.ps1 b/Sources/WAU/Winget-AutoUpdate/functions/Write-CMTraceLog.ps1 index f0d6de9..62d815a 100644 --- a/Sources/WAU/Winget-AutoUpdate/functions/Write-CMTraceLog.ps1 +++ b/Sources/WAU/Winget-AutoUpdate/functions/Write-CMTraceLog.ps1 @@ -96,9 +96,9 @@ Function Write-CMTraceLog $Message = $ErrorRecord; } [string]$logline_part1 = [string]::Format( - $global:logline_part1_template_error, - $Type.ToUpper(), - $Message.exception.message, + $global:logline_part1_template_error, + $Type.ToUpper(), + $Message.exception.message, $Message.InvocationInfo.MyCommand, $Message.InvocationInfo.ScriptName, $Message.InvocationInfo.ScriptLineNumber,