Include log chunk when task runner sees log update, clarify if we can pull logs from same line or next line

This commit is contained in:
Frostebite 2023-09-23 16:14:26 +01:00
parent 6bd6fddf40
commit b452c2b8f7
3 changed files with 1 additions and 1 deletions

BIN
dist/index.js generated vendored

Binary file not shown.

BIN
dist/index.js.map generated vendored

Binary file not shown.

View File

@ -48,7 +48,7 @@ class KubernetesTaskRunner {
} }
if (chunk.includes(`LOGS:`)) { if (chunk.includes(`LOGS:`)) {
const result = RemoteClientLogger.HandleLogChunkLine(chunk); const result = RemoteClientLogger.HandleLogChunkLine(chunk);
CloudRunnerLogger.log(`Logs found HandleLogChunkLineResult:${result}`); CloudRunnerLogger.log(`Logs found HandleLogChunkLineResult:${result}\n${chunk}`);
} }
} }
}; };