Skip to content

Commit 3e076c3

Browse files
author
Tom
committed
add some extra output when checking file absence, write file content if exists
1 parent 0ee603c commit 3e076c3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

InstallScripts/ServiceInstallerModules.psm1

+3-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ Function SmokeTestBingoService
151151
#Check for absence of logging error file exceptionDump.txt (occurs in binaries install dir, not logs subdirectory)
152152
CheckFileAbsentOrDie("exceptionDump.txt")
153153

154-
Write-Output ('Log file data loaded as :' + $engineLog)
154+
echo ('engine Log file data loaded as :' + $engineLog)
155155

156156
# Check the _engine.log to ensure a game has been scheduled, by checking for presence of the following log messages:
157157
#31-01 09:05:06 Scheduler Info SCHED,ID:076741 EVENT,ID:088541 Event created
@@ -177,6 +177,8 @@ Function CheckFileAbsentOrDie($fileName)
177177
echo ($fileName + "does not exists")
178178
}
179179
else {
180+
$data =([string](Get-Content $fileName))
181+
echo ($fileName + ' data is ' + $data)
180182
throw ($fileName + " exists! Test failure");
181183
}
182184
}

0 commit comments

Comments
 (0)