check missing log file

This commit is contained in:
Frostebite 2023-08-18 19:23:49 +01:00
parent 499ad8784a
commit c6b0f25f8d
5 changed files with 12153 additions and 729 deletions

BIN
dist/index.js generated vendored

Binary file not shown.

BIN
dist/index.js.map generated vendored

Binary file not shown.

11662
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -44,6 +44,11 @@ export class RemoteClientLogger {
if (!fs.existsSync(RemoteClientLogger.LogFilePath)) {
CloudRunnerLogger.log(`Log file does not exist`);
// check if CloudRunner.isCloudRunnerEnvironment is true, log
if (!CloudRunner.isCloudRunnerEnvironment) {
CloudRunnerLogger.log(`Cloud Runner is not running in a cloud environment, not collecting logs`);
}
return;
}

1215
yarn.lock

File diff suppressed because it is too large Load Diff