Skip to content

Commit

Permalink
Expanded line number
Browse files Browse the repository at this point in the history
  • Loading branch information
lexiismadd committed Nov 24, 2022
1 parent 46fbbd6 commit 5f2d257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Standard-CT-Module/CT-PS-Standard.psm1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

trap {
write-host "Terminating error $_"
Write-Host "Script $((Get-ChildItem $MyInvocation.PSCommandPath | Select-Object -Expand Name)) ended with exit code $($exiterror)."
Write-Host "Script $((Get-ChildItem $MyInvocation.PSCommandPath | Select-Object -Expand Name)) ended at line $(Get-CurrentLineNumber) with exit code $($exiterror)."
Write-Host "Output log : $($Output_log)"
Write-Host "Transcript log : $($Transcript_log)"
Write-Host "API log : $($API_log)"
Expand Down

0 comments on commit 5f2d257

Please sign in to comment.