Skip to content

Commit 2c0f192

Browse files
committed
Get-LTError Update
1 parent dafe6b0 commit 2c0f192

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

LabTech.psm1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1788,7 +1788,7 @@ Function Get-LTError{
17881788

17891789
Process{
17901790
if ($(Test-Path -Path "$BasePath\LTErrors.txt") -eq $False) {
1791-
Write-Error "ERROR: Line $(LINENUM): Unable to find log. $($Error[0])"
1791+
Write-Error "ERROR: Line $(LINENUM): Unable to find log."
17921792
return
17931793
}
17941794
Try{
@@ -2514,7 +2514,7 @@ Function Get-LTProbeErrors{
25142514

25152515
Process{
25162516
if ($(Test-Path -Path "$BasePath\LTProbeErrors.txt") -eq $False) {
2517-
Write-Error "ERROR: Line $(LINENUM): Unable to find log. $($Error[0])"
2517+
Write-Error "ERROR: Line $(LINENUM): Unable to find log."
25182518
return
25192519
}
25202520
$errors = Get-Content "$BasePath\LTProbeErrors.txt"

0 commit comments

Comments
 (0)